To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 8c6e767b authored by Hermann's avatar Hermann
Browse files

display signups correctly also if they are 0

parent 73bb52c6
......@@ -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}`),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment