mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 13:36:02 +00:00
connection workflow
This commit is contained in:
@@ -148,6 +148,9 @@ export async function duplicateTab(tab) {
|
||||
}
|
||||
|
||||
export function getTabDbKey(tab) {
|
||||
if (tab.tabComponent == 'ConnectionTab') {
|
||||
return 'connections.';
|
||||
}
|
||||
if (tab.props && tab.props.conid && tab.props.database) {
|
||||
return `database://${tab.props.database}-${tab.props.conid}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user