We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b400d28 commit ab937b2Copy full SHA for ab937b2
src/components/EventCard.vue
@@ -3,7 +3,7 @@
3
<div class="event-card -shadow">
4
<span class="eyebrow">@{{ event.time }} on {{ event.date }}</span>
5
<h4 class="title">{{ event.title }}</h4>
6
- <BaseIcon name="users">{{ event.attendees.length }} attending</BaseIcon>
+ <BaseIcon name="users">{{ event.attendees ? event.attendees.length : 0 }} attending</BaseIcon>
7
</div>
8
</router-link>
9
</template>
0 commit comments