diff --git a/frontend/app/shared/state/contents.state.ts b/frontend/app/shared/state/contents.state.ts index 52aaabe7c..0e1be11a6 100644 --- a/frontend/app/shared/state/contents.state.ts +++ b/frontend/app/shared/state/contents.state.ts @@ -137,7 +137,9 @@ export abstract class ContentsStateBase extends State { public load(isReload = false): Observable { if (!isReload) { if (this.schemaId !== this.previousId) { - this.resetState(); + const contentsPager = Pager.fromLocalStore('contents', this.localStore); + + this.resetState({ contentsPager }); } else { const contentsPager = this.snapshot.contentsPager; const contentsQuery = this.snapshot.contentsQuery;