From 416cb5452401d52bb34723135b0633fecad7fc5e Mon Sep 17 00:00:00 2001 From: Aleksei Potsetsuev Date: Mon, 15 Jul 2024 23:27:36 +0800 Subject: [PATCH] CB-5380 fix: grid loading --- .../src/DatabaseDataModel/DatabaseDataSource.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/packages/plugin-data-viewer/src/DatabaseDataModel/DatabaseDataSource.ts b/webapp/packages/plugin-data-viewer/src/DatabaseDataModel/DatabaseDataSource.ts index cdd6b0c273..faff69d5cd 100644 --- a/webapp/packages/plugin-data-viewer/src/DatabaseDataModel/DatabaseDataSource.ts +++ b/webapp/packages/plugin-data-viewer/src/DatabaseDataModel/DatabaseDataSource.ts @@ -380,7 +380,7 @@ export abstract class DatabaseDataSource(type: DatabaseDataSourceOperation, operation: () => Promise): Promise { - if (this.activeOperation && type !== DatabaseDataSourceOperation.Request) { + if (this.activeOperation && type === DatabaseDataSourceOperation.Request) { await this.activeOperation; }