diff --git a/app/assets/javascripts/discourse/app/components/d-navigation.js b/app/assets/javascripts/discourse/app/components/d-navigation.js index 00bace979fe..6d00181e9e9 100644 --- a/app/assets/javascripts/discourse/app/components/d-navigation.js +++ b/app/assets/javascripts/discourse/app/components/d-navigation.js @@ -79,10 +79,20 @@ export default Component.extend(FilterModeMixin, { return !additionalTags && !category && tagId !== "none"; }, - @discourseComputed("filterType", "category", "noSubcategories", "tag.id") - navItems(filterType, category, noSubcategories, tagId) { - const currentRouteQueryParams = this.get("router.currentRoute.queryParams"); - + @discourseComputed( + "filterType", + "category", + "noSubcategories", + "tag.id", + "router.currentRoute.queryParams" + ) + navItems( + filterType, + category, + noSubcategories, + tagId, + currentRouteQueryParams + ) { return NavItem.buildList(category, { filterType, noSubcategories,