Update custom-wizard-admin.js.es6
Dieser Commit ist enthalten in:
Ursprung
7657149e6f
Commit
0cb76659e9
1 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen
|
@ -12,7 +12,10 @@ const GUEST_GROUP_ID = -1;
|
||||||
const CustomWizardAdmin = EmberObject.extend({
|
const CustomWizardAdmin = EmberObject.extend({
|
||||||
@discourseComputed("permitted.@each.output")
|
@discourseComputed("permitted.@each.output")
|
||||||
allowGuests(permitted) {
|
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) {
|
save(opts) {
|
||||||
|
|
Laden …
In neuem Issue referenzieren