diff --git a/app/assets/javascripts/discourse/components/navigation-item.js.es6 b/app/assets/javascripts/discourse/components/navigation-item.js.es6 index 98742db3d42..f6805dfb2f2 100644 --- a/app/assets/javascripts/discourse/components/navigation-item.js.es6 +++ b/app/assets/javascripts/discourse/components/navigation-item.js.es6 @@ -34,7 +34,7 @@ export default Component.extend( // Include the category id if the option is present if (content.get("includeCategoryId")) { - let categoryId = this.get("category.id"); + let categoryId = this.get("content.category.id"); if (categoryId) { queryParams.push(`category_id=${categoryId}`); }