forked from potsda.mn/mobilizon
Fix number of places toggle on event edit form
Closes #205 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
6afde20b96
commit
b7857d93cd
|
@ -316,7 +316,7 @@ export default class EditEvent extends Vue {
|
|||
this.unmodifiedEvent = JSON.parse(JSON.stringify(this.event.toEditJSON()));
|
||||
|
||||
this.pictureFile = await buildFileFromIPicture(this.event.picture);
|
||||
this.limitedPlaces = this.event.options.maximumAttendeeCapacity != null;
|
||||
this.limitedPlaces = this.event.options.maximumAttendeeCapacity !== 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue