Optimize resource usage of the manager when attendees join the event

This commit is contained in:
Alex
2024-09-01 12:46:09 +02:00
parent bcaafa0492
commit 107be10b5c
10 changed files with 30 additions and 21 deletions

View File

@@ -50,7 +50,9 @@
<div class="inline-flex justify-between items-center text-white text-sm">
<img src="/images/icons/online-users.svg" class="h-6 mr-2" />
<span id="counter"><%= @attendees_nb %></span>
<span id="counter" phx-update="ignore" phx-hook="UpdateAttendees">
<%= @attendees_nb %>
</span>
</div>
</div>
</div>