diff --git a/assets/javascripts/discourse/controllers/admin-wizards-wizard-show.js.es6 b/assets/javascripts/discourse/controllers/admin-wizards-wizard-show.js.es6 index e84154b6..c971a3db 100644 --- a/assets/javascripts/discourse/controllers/admin-wizards-wizard-show.js.es6 +++ b/assets/javascripts/discourse/controllers/admin-wizards-wizard-show.js.es6 @@ -95,7 +95,7 @@ export default Controller.extend({ setAfterTimeGroupIds() { const groups = this.site.groups.filter((g) => - this.wizard.after_time_groups.includes(g.name) + this.wizard.after_time_groups?.includes(g.name) ); this.setProperties({ afterTimeGroupIds: groups.map((g) => g.id),