Add missing setLoading method

This commit is contained in:
Clemente Raposo 2024-12-05 01:04:20 +00:00 committed by Jack Anderson
parent f5efada535
commit 127fb940f2

View file

@ -387,6 +387,13 @@ export class RecordListStore implements StateStore, DataSource<Record>, Selectio
this.localStorageService.set(key, this.pagination);
}
public setLoading(loading: boolean): void {
this.updateState({
...this.internalState,
loading: loading
});
}
/**
* Load / reload records using current pagination and criteria
*