mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
REFACTOR: Remove Discourse.SiteSettings
from search-result widget
This commit is contained in:
parent
ac0d5b1d3f
commit
17bccbb52f
@ -159,7 +159,7 @@ createSearchResult({
|
||||
link: false
|
||||
})
|
||||
];
|
||||
if (Discourse.SiteSettings.tagging_enabled) {
|
||||
if (this.siteSettings.tagging_enabled) {
|
||||
secondLine.push(
|
||||
this.attach("discourse-tags", { topic, tagName: "span" })
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user