MSSql/Postgres: Fix visual query editor filter disappearing (#58248)

This commit is contained in:
Zoltán Bedi
2022-11-07 17:04:53 +01:00
committed by GitHub
parent 3621cf5a12
commit b472306239
2 changed files with 6 additions and 0 deletions
@@ -61,6 +61,9 @@ export class MssqlDatasource extends SqlDatasource {
}
getDB(): DB {
if (this.db !== undefined) {
return this.db;
}
return {
init: () => Promise.resolve(true),
datasets: () => this.fetchDatasets(),
@@ -67,6 +67,9 @@ export class PostgresDatasource extends SqlDatasource {
}
getDB(): DB {
if (this.db !== undefined) {
return this.db;
}
return {
init: () => Promise.resolve(true),
datasets: () => Promise.resolve([]),