mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-24 02:36:00 +00:00
feat: prevent closing tab if any modal is open
This commit is contained in:
@@ -323,3 +323,9 @@ appliedCurrentSchema.subscribe(value => {
|
||||
appliedCurrentSchemaValue = value;
|
||||
});
|
||||
export const getAppliedCurrentSchema = () => appliedCurrentSchemaValue;
|
||||
|
||||
let openedModalsValue = [];
|
||||
openedModals.subscribe(value => {
|
||||
openedModalsValue = value;
|
||||
});
|
||||
export const getOpenedModals = () => openedModalsValue;
|
||||
|
||||
Reference in New Issue
Block a user