Skip to content

Commit

Permalink
fix: turn OFF alert if sql is empty, only 'No Data' is shown
Browse files Browse the repository at this point in the history
  • Loading branch information
RFbkak37y3kIY committed Sep 9, 2022
1 parent 111ac27 commit 0ed828e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pages/home.page/home.page.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0ed828e

Please sign in to comment.