mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-28 18:46:02 +00:00
fix
This commit is contained in:
@@ -241,7 +241,7 @@
|
|||||||
const hasAnyOtherTab = getOpenedTabs().filter(x => !x.closedTime).length >= 1;
|
const hasAnyOtherTab = getOpenedTabs().filter(x => !x.closedTime).length >= 1;
|
||||||
const hasAnyModalOpen = getOpenedModals().length > 0;
|
const hasAnyModalOpen = getOpenedModals().length > 0;
|
||||||
|
|
||||||
return hasAnyOtherTab && !hasConfirmModalOpen;
|
return hasAnyOtherTab && !hasAnyModalOpen;
|
||||||
},
|
},
|
||||||
onClick: closeCurrentTab,
|
onClick: closeCurrentTab,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user