0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-24 02:10:29 +01:00

Guard against users editing wizard JSON directly

Dieser Commit ist enthalten in:
Angus McLeod 2024-10-18 10:46:11 +02:00
Ursprung 10c30a0c74
Commit 4e4a9c751b

Datei anzeigen

@ -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),