enhance: count of receivers in modal

This commit is contained in:
Julian Krauser 2025-04-10 11:01:29 +02:00
parent 7aa0db3684
commit 552b6f6438
2 changed files with 4 additions and 2 deletions

View file

@ -5,6 +5,8 @@
</div>
<br />
<p v-if="receivers.length == 0">keine Empfänger gefunden</p>
<p v-else>{{ receivers.length }} Empfänger gefunden</p>
<div class="flex flex-col gap-2 h-96 overflow-y-scroll">
<p
v-for="rec in receivers"
@ -13,7 +15,6 @@
>
{{ rec.lastname }}, {{ rec.firstname }}
</p>
<p v-if="receivers.length == 0">keine Empfänger gefunden</p>
</div>
<div class="flex flex-row gap-4 py-2 w-full">

View file

@ -5,6 +5,8 @@
</div>
<br />
<p v-if="receivers.length == 0">keine Empfänger gefunden</p>
<p v-else>{{ receivers.length }} Empfänger gefunden</p>
<div class="flex flex-col gap-2 h-96 overflow-y-scroll">
<p
v-for="rec in receivers"
@ -13,7 +15,6 @@
>
{{ rec.lastname }}, {{ rec.firstname }}
</p>
<p v-if="receivers.length == 0">keine Empfänger gefunden</p>
</div>
<div class="flex flex-row gap-4 py-2 w-full">