refactor: connect switch to Node state

main
Josue 4 years ago committed by Tsu-ba-me
parent 334623e3bf
commit 0e5a728dcc
  1. 2
      striker-ui/components/Nodes/AnvilNode.tsx

@ -106,7 +106,7 @@ const AnvilNode = ({
<BodyText text="Power: " /> <BodyText text="Power: " />
</Box> </Box>
<Box flexGrow={1}> <Box flexGrow={1}>
<Switch checked /> <Switch checked={node.state === 'ready'} />
</Box> </Box>
<Box className={classes.label}> <Box className={classes.label}>
<BodyText text="Member: " /> <BodyText text="Member: " />

Loading…
Cancel
Save