mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 10:06:00 +00:00
fixed singledb docker connections
This commit is contained in:
@@ -146,9 +146,13 @@ export const currentThemeDefinition = derived([currentTheme, extensions], ([$cur
|
||||
$extensions.themes.find(x => x.themeClassName == $currentTheme)
|
||||
);
|
||||
export const openedConnectionsWithTemporary = derived(
|
||||
[openedConnections, temporaryOpenedConnections],
|
||||
([$openedConnections, $temporaryOpenedConnections]) =>
|
||||
_.uniq([...$openedConnections, ...$temporaryOpenedConnections.map(x => x.conid)])
|
||||
[openedConnections, temporaryOpenedConnections, openedSingleDatabaseConnections],
|
||||
([$openedConnections, $temporaryOpenedConnections, $openedSingleDatabaseConnections]) =>
|
||||
_.uniq([
|
||||
...$openedConnections,
|
||||
...$temporaryOpenedConnections.map(x => x.conid),
|
||||
...$openedSingleDatabaseConnections,
|
||||
])
|
||||
);
|
||||
|
||||
let nativeMenuOnStartup = null;
|
||||
|
||||
Reference in New Issue
Block a user