This commit is contained in:
Jan Prochazka
2024-06-24 16:20:44 +02:00
parent 6cdbfd1a89
commit db8b8feb3e
4 changed files with 9 additions and 0 deletions

View File

@@ -152,6 +152,9 @@ export function getTabDbKey(tab) {
if (tab.tabComponent == 'ConnectionTab') {
return 'connections.';
}
if (tab.tabComponent?.startsWith('Admin')) {
return 'admin.';
}
if (tab.props && tab.props.conid && tab.props.database) {
return `database://${tab.props.database}-${tab.props.conid}`;
}