Merge pull request #10519 from gschlager/get-url
Fixes for getURL() in subfolders and basePath in translations
This commit is contained in:
@@ -107,7 +107,7 @@ export default Controller.extend(PeriodComputationMixin, {
|
||||
@discourseComputed
|
||||
trendingSearchDisabledLabel() {
|
||||
return I18n.t("admin.dashboard.reports.trending_search.disabled", {
|
||||
basePath: getURL("/")
|
||||
basePath: getURL("")
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
filters=trendingSearchFilters
|
||||
isEnabled=logSearchQueriesEnabled
|
||||
disabledLabel=trendingSearchDisabledLabel}}
|
||||
{{html-safe (i18n "admin.dashboard.reports.trending_search.more" basePath=(base-url))}}
|
||||
{{html-safe (i18n "admin.dashboard.reports.trending_search.more" basePath=(base-path))}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user