feat: hide number of pending feedbacks when not applicable

This commit is contained in:
Björn Fromme
2023-12-07 12:46:49 +01:00
parent 5a431bf193
commit c011d7e1cf
+5 -3
View File
@@ -114,9 +114,11 @@
<h2 class="font-bold text-lg pb-2">
Neue Feedbacks
</h2>
<h3 class="font-bold pb-2">
{{ pendingFeedbacksCount }} freizugeben
</h3>
{% if pendingFeedbacksCount > 0 %}
<h3 class="font-bold pb-2">
{{ pendingFeedbacksCount }} freizugeben
</h3>
{% endif %}
<ul class="divide-y divide-gray-200">
{% for feedback in feedbacks %}
<li class="py-2 first:pt-0 last:pb-0">