Fix number of places toggle on event edit form

Closes #205

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2019-10-12 11:53:40 +02:00
parent 6afde20b96
commit b7857d93cd
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}