mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 07:46:00 +00:00
db widget UX
This commit is contained in:
@@ -345,4 +345,10 @@ let focusedConnectionOrDatabaseValue = null;
|
||||
focusedConnectionOrDatabase.subscribe(value => {
|
||||
focusedConnectionOrDatabaseValue = value;
|
||||
});
|
||||
export const getFocusedConnectionOrDatabase = () => focusedConnectionOrDatabaseValue;
|
||||
export const getFocusedConnectionOrDatabase = () => focusedConnectionOrDatabaseValue;
|
||||
|
||||
let openedSingleDatabaseConnectionsValue = [];
|
||||
openedSingleDatabaseConnections.subscribe(value => {
|
||||
openedSingleDatabaseConnectionsValue = value;
|
||||
});
|
||||
export const getOpenedSingleDatabaseConnections = () => openedSingleDatabaseConnectionsValue;
|
||||
|
||||
Reference in New Issue
Block a user