A platform for community discussion. Free, open, simple.
FIX: Use this.content.category instead of this.category on navigation-item
Daniel Waterworth676a1c874988
diff --git a/app/assets/javascripts/discourse/components/navigation-item.js.es6 b/app/assets/javascripts/discourse/components/navigation-item.js.es6index 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 presentif (content.get("includeCategoryId")) {- let categoryId = this.get("category.id");+ let categoryId = this.get("content.category.id");if (categoryId) {queryParams.push(`category_id=${categoryId}`);}