MSSql/Postgres: Fix visual query editor filter disappearing (#58248)
This commit is contained in:
1 parent
3621cf5a12
commit
b472306239
2 files changed
+6
No files matched your search
@@ -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([]),
|
||||
|
||||
Reference in new issue
Block a user