show unsaved connections in connection tree

This commit is contained in:
SPRINX0\prochazka
2024-12-03 14:54:22 +01:00
parent 6b3f398de3
commit 72bd536aec
4 changed files with 19 additions and 12 deletions

View File

@@ -51,7 +51,7 @@
if (
!$openedTabs.find(x => x.closedTime == null) &&
!(await getConnectionList()).find(x => !x.unsaved) &&
!(await getConnectionList()).length &&
$commandsCustomized['new.connection']?.enabled
) {
openNewTab({