diff --git a/src/events/viewEvent.js b/src/events/viewEvent.js index eaf94eb97aa9a4c30f2226c52db6a1f54ac51f51..8af5d6cf6a4a4b244ca4f142ac3f14142e65e686 100644 --- a/src/events/viewEvent.js +++ b/src/events/viewEvent.js @@ -168,7 +168,7 @@ export default class viewEvent extends ItemView { ]), // below the title, most important details are listed m('div.maincontainer', { style: { display: 'flex' } }, [ - this.data.signup_count && m(Property, { + ('signup_count' in this.data && this.data.signup_count !== null) && m(Property, { style: stdMargin, title: 'Signups', }, `${this.data.signup_count} / ${displaySpots}`),