mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 01:10:42 +08:00
Add missing setLoading method
This commit is contained in:
parent
f5efada535
commit
127fb940f2
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue