mirror of
https://github.com/logos-storage/logos-storage-marketplace-ui.git
synced 2026-01-04 06:23:08 +00:00
Fix nodes color when the connection is not active
This commit is contained in:
parent
503cca59af
commit
c0e80b5acb
@ -74,9 +74,12 @@ export function AppBar({ onIconClick }: Props) {
|
||||
const networkIconColor = online
|
||||
? "#3EE089"
|
||||
: "var(--codex-input-color-error)";
|
||||
const nodesIconColor = codex.enabled
|
||||
? "#3EE089"
|
||||
: "var(--codex-input-color-error)";
|
||||
const nodesIconColor =
|
||||
codex.enabled === false
|
||||
? "var(--codex-input-color-error)"
|
||||
: persistence.enabled
|
||||
? "#3EE089"
|
||||
: "var(--codex-input-color-warning)";
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
border-right-color: var(--codex-input-color-error);
|
||||
}
|
||||
|
||||
&.app-bar--no-persistence {
|
||||
&.app-bar--no-persistence:not(.app-bar--offline) {
|
||||
border-right-color: rgb(var(--codex-color-warning));
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user