mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 21:46:00 +00:00
fullscreen modal template, sql generator modal
This commit is contained in:
@@ -119,3 +119,10 @@ recentDatabases.subscribe(value => {
|
||||
recentDatabasesValue = value;
|
||||
});
|
||||
export const getRecentDatabases = () => _.compact(recentDatabasesValue);
|
||||
|
||||
let currentDatabaseValue = null;
|
||||
currentDatabase.subscribe(value => {
|
||||
currentDatabaseValue = value;
|
||||
invalidateCommands();
|
||||
});
|
||||
export const getCurrentDatabase = () => currentDatabaseValue;
|
||||
|
||||
Reference in New Issue
Block a user