mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-28 08:26:29 +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
|
useConnectionFallback = true
|
||||||
) {
|
) {
|
||||||
const connections = useConnectionList();
|
const connections = useConnectionList();
|
||||||
return derived([connections, currentThemeDefinition], ([$connections, $themeDef]) =>
|
return derived([connections, currentThemeDefinition, cloudConnectionsStore], ([$connections, $themeDef, $cloudConnectionsStore]) =>
|
||||||
getConnectionColor(
|
getConnectionColor(
|
||||||
$connections,
|
$connections,
|
||||||
|
$cloudConnectionsStore,
|
||||||
dbid,
|
dbid,
|
||||||
themeType ?? $themeDef?.themeType,
|
themeType ?? $themeDef?.themeType,
|
||||||
colorIndex,
|
colorIndex,
|
||||||
|
|||||||
Reference in New Issue
Block a user