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:
commit
9f5ec841f0
@ -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 New Issue
Block a user