refactor - handle cloud listeners

This commit is contained in:
SPRINX0\prochazka
2025-05-26 17:02:09 +02:00
parent afde0a7423
commit d26db7096d
6 changed files with 83 additions and 19 deletions

View File

@@ -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);