CB-4531 fix: connect to the tables/connections without red screen error (has connection already) (#2339)

Co-authored-by: s.teleshev <s.teleshev@mu.se>
This commit is contained in:
sergeyteleshev
2024-01-29 15:35:20 +03:00
committed by GitHub
co-authored by s.teleshev
parent 1e4cbd60b8
commit 04236b949b
@@ -69,7 +69,7 @@ export const ObjectViewerPanel: TabHandlerPanelComponent<IObjectViewerTabState>
tab.handlerState.tabTitle = data.name;
});
},
active: !state.notFound,
active: !state.notFound && connection.data?.connected,
});
const pages = dbObjectPagesService.orderedPages;