Skip to content
Snippets Groups Projects
Commit 8c6e767b authored by Hermann's avatar Hermann
Browse files

display signups correctly also if they are 0

parent 73bb52c6
No related branches found
No related tags found
No related merge requests found
...@@ -168,7 +168,7 @@ export default class viewEvent extends ItemView { ...@@ -168,7 +168,7 @@ export default class viewEvent extends ItemView {
]), ]),
// below the title, most important details are listed // below the title, most important details are listed
m('div.maincontainer', { style: { display: 'flex' } }, [ 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, style: stdMargin,
title: 'Signups', title: 'Signups',
}, `${this.data.signup_count} / ${displaySpots}`), }, `${this.data.signup_count} / ${displaySpots}`),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment