mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: correctly allow tag creation if this.site.get("can_create_tag")
This commit is contained in:
parent
4132c37add
commit
90a1b48503
@ -18,7 +18,7 @@ export default MultiSelectComponent.extend(Tags, {
|
||||
this._super();
|
||||
|
||||
if (this.get("allowCreate") !== false) {
|
||||
this.set("allowCreate", this.get("siteSettings.can_create_tag"));
|
||||
this.set("allowCreate", this.site.get("can_create_tag"));
|
||||
}
|
||||
|
||||
this.set("termMatchesForbidden", false);
|
||||
|
Loading…
Reference in New Issue
Block a user