mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2025-01-01 04:45:57 +00:00
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
bd6773139c
1 changed files with 1 additions and 1 deletions
|
@ -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