client/posts: go back to page 1 on safety change
This commit is contained in:
parent
cf1d15354d
commit
e4f9c26776
1 changed files with 6 additions and 1 deletions
|
@ -101,7 +101,12 @@ class PostsHeaderView extends events.EventTarget {
|
|||
settings.save(browsingSettings, true);
|
||||
this.dispatchEvent(
|
||||
new CustomEvent(
|
||||
'navigate', {detail: {parameters: this._ctx.parameters}}));
|
||||
'navigate', {
|
||||
detail: {
|
||||
parameters:
|
||||
Object.assign({}, this._ctx.parameters, {page: 1}),
|
||||
},
|
||||
}));
|
||||
}
|
||||
|
||||
_evtFormSubmit(e) {
|
||||
|
|
Loading…
Reference in a new issue