FIX: Topic filters persist when navigating to home page (#7175)

* FIX: Topic filters persist when navigating to home page

* remove the line which no longer needed
This commit is contained in:
Vinoth Kannan
2019-03-15 09:45:17 +05:30
committed by GitHub
parent 1981add261
commit bec3956f7f

View File

@@ -24,7 +24,9 @@ const controllerOpts = {
expandAllPinned: false,
resetParams() {
this.setProperties({ order: "default", ascending: false });
Object.keys(this.get("model.params") || {}).forEach(key =>
this.set(key, null)
);
},
actions: {