mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 17:06:01 +00:00
SYNC: fixed status bar color
This commit is contained in:
committed by
Diflow
parent
50bb6a1d19
commit
8737ab077b
@@ -48,9 +48,10 @@ export function useConnectionColor(
|
||||
useConnectionFallback = true
|
||||
) {
|
||||
const connections = useConnectionList();
|
||||
return derived([connections, currentThemeDefinition], ([$connections, $themeDef]) =>
|
||||
return derived([connections, currentThemeDefinition, cloudConnectionsStore], ([$connections, $themeDef, $cloudConnectionsStore]) =>
|
||||
getConnectionColor(
|
||||
$connections,
|
||||
$cloudConnectionsStore,
|
||||
dbid,
|
||||
themeType ?? $themeDef?.themeType,
|
||||
colorIndex,
|
||||
|
||||
Reference in New Issue
Block a user