REFACTOR: Remove `Discourse.SiteSettings` from search-result widget

This commit is contained in:
Robin Ward 2020-07-21 12:22:33 -04:00
parent ac0d5b1d3f
commit 17bccbb52f
1 changed files with 1 additions and 1 deletions

View File

@ -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" })
); );