REFACTOR: Remove `Discourse.SiteSettings` from search-result widget
This commit is contained in:
parent
ac0d5b1d3f
commit
17bccbb52f
|
@ -159,7 +159,7 @@ createSearchResult({
|
||||||
link: false
|
link: false
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
if (Discourse.SiteSettings.tagging_enabled) {
|
if (this.siteSettings.tagging_enabled) {
|
||||||
secondLine.push(
|
secondLine.push(
|
||||||
this.attach("discourse-tags", { topic, tagName: "span" })
|
this.attach("discourse-tags", { topic, tagName: "span" })
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue