single database fixes

This commit is contained in:
Jan Prochazka
2022-05-22 10:17:15 +02:00
parent 4098c4e504
commit fb61f263a6
5 changed files with 66 additions and 14 deletions

View File

@@ -8,6 +8,7 @@ let lastCurrentTab = null;
openedTabs.subscribe(value => {
const newCurrentTab = (value || []).find(x => x.selected);
if (newCurrentTab == lastCurrentTab) return;
if (lastCurrentTab?.tabComponent == 'ConnectionTab') return;
if (newCurrentTab) {
const { conid, database } = newCurrentTab.props || {};