1
0
Fork 0

Update custom-wizard-admin.js.es6

Dieser Commit ist enthalten in:
Angus McLeod 2023-02-07 13:55:08 +01:00
Ursprung 7657149e6f
Commit 0cb76659e9

Datei anzeigen

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