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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

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: {