feat: hide number of pending feedbacks when not applicable
This commit is contained in:
@@ -114,9 +114,11 @@
|
|||||||
<h2 class="font-bold text-lg pb-2">
|
<h2 class="font-bold text-lg pb-2">
|
||||||
Neue Feedbacks
|
Neue Feedbacks
|
||||||
</h2>
|
</h2>
|
||||||
|
{% if pendingFeedbacksCount > 0 %}
|
||||||
<h3 class="font-bold pb-2">
|
<h3 class="font-bold pb-2">
|
||||||
{{ pendingFeedbacksCount }} freizugeben
|
{{ pendingFeedbacksCount }} freizugeben
|
||||||
</h3>
|
</h3>
|
||||||
|
{% endif %}
|
||||||
<ul class="divide-y divide-gray-200">
|
<ul class="divide-y divide-gray-200">
|
||||||
{% for feedback in feedbacks %}
|
{% for feedback in feedbacks %}
|
||||||
<li class="py-2 first:pt-0 last:pb-0">
|
<li class="py-2 first:pt-0 last:pb-0">
|
||||||
|
|||||||
Reference in New Issue
Block a user