mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-02 06:43:59 +00:00
Merge branch 'master' into feature/tab-preview-mode
This commit is contained in:
@@ -108,6 +108,9 @@ export const currentEditorTheme = getElectron()
|
||||
export const currentEditorKeybindigMode = getElectron()
|
||||
? writableSettingsValue(null, 'currentEditorKeybindigMode')
|
||||
: writableWithStorage(null, 'currentEditorKeybindigMode');
|
||||
export const currentEditorWrapEnabled = getElectron()
|
||||
? writableSettingsValue(false, 'currentEditorWrapEnabled')
|
||||
: writableWithStorage(false, 'currentEditorWrapEnabled');
|
||||
export const currentEditorFontSize = getElectron()
|
||||
? writableSettingsValue(null, 'currentEditorFontSize')
|
||||
: writableWithStorage(null, 'currentEditorFontSize');
|
||||
@@ -330,3 +333,9 @@ selectedDatabaseObjectAppObject.subscribe(value => {
|
||||
selectedDatabaseObjectAppObjectValue = value;
|
||||
});
|
||||
export const getSelectedDatabaseObjectAppObject = () => selectedDatabaseObjectAppObjectValue;
|
||||
|
||||
let openedModalsValue = [];
|
||||
openedModals.subscribe(value => {
|
||||
openedModalsValue = value;
|
||||
});
|
||||
export const getOpenedModals = () => openedModalsValue;
|
||||
|
||||
Reference in New Issue
Block a user