From 0ed828e797091211483a057f50879a92f492156b Mon Sep 17 00:00:00 2001 From: Eduard Klimenko Date: Fri, 9 Sep 2022 15:10:33 +0300 Subject: [PATCH] fix: turn OFF alert if sql is empty, only 'No Data' is shown --- src/app/pages/home.page/home.page.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/pages/home.page/home.page.component.ts b/src/app/pages/home.page/home.page.component.ts index ee3941d..6c1c954 100644 --- a/src/app/pages/home.page/home.page.component.ts +++ b/src/app/pages/home.page/home.page.component.ts @@ -305,7 +305,7 @@ export class HomePageComponent implements OnInit { async SQL(sqlStr: string, isAuthenticated: boolean = false) { await promiseWait(100); if (!sqlStr) { - this.alertService.error('ERROR: SQL query is empty!') + // this.alertService.error('ERROR: SQL query is empty!') return false; } if (!isAuthenticated) {