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.
This commit is contained in:
parent
4ff3dcb3fe
commit
085e348aa8
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
|||
<template v-if="slot.interested">
|
||||
({{ slot.interested }} interested)
|
||||
</template>
|
||||
<p v-if="slot.assigned">
|
||||
<p v-if="slot.assigned.size">
|
||||
Crew:
|
||||
{{ [...slot.assigned].map(id => usersStore.users.get(id)?.name).join(", ") }}
|
||||
</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue