From 085e348aa88b4dd23392bdcb3ea36f3712a42f0d Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Wed, 16 Jul 2025 19:02:55 +0200 Subject: [PATCH] Hide empty crew list in EventCard It used to be that the assigned property was not present for clients who are not crew, but this changed with the client state refactor. It makes more sense to only show the crew field if there are any crew present. --- components/CardEvent.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/CardEvent.vue b/components/CardEvent.vue index 11feb85..c5b9dbe 100644 --- a/components/CardEvent.vue +++ b/components/CardEvent.vue @@ -35,7 +35,7 @@ -

+

Crew: {{ [...slot.assigned].map(id => usersStore.users.get(id)?.name).join(", ") }}