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