1
0
Fork 0

Update custom-wizard-admin.js.es6

Dieser Commit ist enthalten in:
Angus McLeod 2023-02-07 13:53:20 +01:00
Ursprung 1eefd99c6a
Commit 7657149e6f

Datei anzeigen

@ -12,7 +12,7 @@ const GUEST_GROUP_ID = -1;
const CustomWizardAdmin = EmberObject.extend({
@discourseComputed("permitted.@each.output")
allowGuests(permitted) {
return permitted.filter((p) => p.output.includes(GUEST_GROUP_ID)).length;
return permitted && permitted.filter((p) => p.output.includes(GUEST_GROUP_ID)).length;
},
save(opts) {