Browse Source

reorder progress

pull/31/head
Sacha Weatherstone 4 years ago
parent
commit
ae5ff4f9de
No known key found for this signature in database GPG Key ID: 7AB2D7E206124B31
  1. 6
      src/components/Progress.tsx

6
src/components/Progress.tsx

@ -68,6 +68,9 @@ export const Progress = (): JSX.Element => {
> >
Device Info Device Info
</StatusIndicator> </StatusIndicator>
<StatusIndicator color={nodes.length ? "success" : "disabled"}>
Peers ({nodes.length})
</StatusIndicator>
<StatusIndicator <StatusIndicator
color={Object.keys(config).length === 7 ? "success" : "disabled"} color={Object.keys(config).length === 7 ? "success" : "disabled"}
> >
@ -80,9 +83,6 @@ export const Progress = (): JSX.Element => {
> >
Module Config {`(${Object.keys(moduleConfig).length - 1} / 6)`} Module Config {`(${Object.keys(moduleConfig).length - 1} / 6)`}
</StatusIndicator> </StatusIndicator>
<StatusIndicator color={nodes.length ? "success" : "disabled"}>
Peers ({nodes.length})
</StatusIndicator>
<StatusIndicator <StatusIndicator
color={ color={
channels.length > 0 && channels.length === hardware.maxChannels channels.length > 0 && channels.length === hardware.maxChannels

Loading…
Cancel
Save