mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 16:24:55 +00:00
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:
parent
1981add261
commit
bec3956f7f
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user