mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
FEATURE: Add new site setting list type with name and values (#16045)
These changes include a bug fix because allow_any attribute of site settings was completely ignored before.
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
import I18n from "I18n";
|
||||
import Mixin from "@ember/object/mixin";
|
||||
import { computed } from "@ember/object";
|
||||
import { readOnly } from "@ember/object/computed";
|
||||
import discourseComputed from "discourse-common/utils/decorators";
|
||||
import { isPresent } from "@ember/utils";
|
||||
|
||||
@ -66,4 +67,6 @@ export default Mixin.create({
|
||||
return "admin.settings.none";
|
||||
}
|
||||
},
|
||||
|
||||
anyValue: readOnly("allow_any"),
|
||||
});
|
||||
|
Reference in New Issue
Block a user