change to allow refresh and delete correctly (#12477)

This commit is contained in:
Udeesha Gautam
2020-09-18 16:11:38 -07:00
committed by GitHub
parent 54ed8bb2a8
commit 026f59285a

View File

@@ -186,13 +186,13 @@ export class CurrentModelsTable extends ModelViewBase implements IDataComponent<
public async onLoading(): Promise<void> { public async onLoading(): Promise<void> {
if (this._loader) { if (this._loader) {
await this._loader.updateProperties({ loading: true }); this._loader.loading = true;
} }
} }
public async onLoaded(): Promise<void> { public async onLoaded(): Promise<void> {
if (this._loader) { if (this._loader) {
await this._loader.updateProperties({ loading: false }); this._loader.loading = false;
} }
} }