|
|
|
@ -137,7 +137,9 @@ export abstract class ContentsStateBase extends State<Snapshot> { |
|
|
|
public load(isReload = false): Observable<any> { |
|
|
|
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; |
|
|
|
|