mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 13:36:02 +00:00
refactor - handle cloud listeners
This commit is contained in:
@@ -457,4 +457,10 @@ focusedTreeDbKey.subscribe(value => {
|
||||
});
|
||||
export const getFocusedTreeDbKey = () => focusedTreeDbKeyValue;
|
||||
|
||||
let cloudConnectionsStoreValue = {};
|
||||
cloudConnectionsStore.subscribe(value => {
|
||||
cloudConnectionsStoreValue = value;
|
||||
});
|
||||
export const getCloudConnectionsStore = () => cloudConnectionsStoreValue;
|
||||
|
||||
window['__changeCurrentTheme'] = theme => currentTheme.set(theme);
|
||||
|
||||
Reference in New Issue
Block a user