Skip to content

A platform for community discussion. Free, open, simple.

FIX: exception with triggerRefresh and subcat listing (#8131)

Joffrey JAFFEUXef610af3288e
diff --git a/app/assets/javascripts/discourse/routes/build-category-route.js.es6 b/app/assets/javascripts/discourse/routes/build-category-route.js.es6
index b2a5a00ae5f..c1db98d7779 100644
--- a/app/assets/javascripts/discourse/routes/build-category-route.js.es6
+++ b/app/assets/javascripts/discourse/routes/build-category-route.js.es6
@@ -200,6 +200,10 @@ export default (filterArg, params) => {
actions: {
setNotification(notification_level) {
this.currentModel.setNotification(notification_level);
+ },
+
+ triggerRefresh() {
+ this.refresh();
}
}
});