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

@@ -158,6 +158,7 @@
function getTabDbName(tab, connectionList) {
if (tab.tabComponent == 'ConnectionTab') return 'Connections';
if (tab.tabComponent?.startsWith('Admin')) return 'Administration';
if (tab.props && tab.props.conid && tab.props.database) return tab.props.database;
if (tab.props && tab.props.conid) {
const connection = connectionList?.find(x => x._id == tab.props.conid);
@@ -174,6 +175,7 @@
if (key.startsWith('archive://')) return 'icon archive';
if (key.startsWith('server://')) return 'icon server';
if (key.startsWith('connections.')) return 'icon connection';
if (key.startsWith('admin.')) return 'icon admin';
}
return 'icon file';
}