Merge branch 'bug/fix-editor-limited-participation-checkbox' into 'master'

Fix number of places toggle on event edit form

Closes #205

See merge request framasoft/mobilizon!253
This commit is contained in:
Thomas Citharel 2019-10-12 12:22:06 +02:00
commit bd6773139c

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