refactor: allow disabling membership switch for nodes in Nodes component

main
Josue 4 years ago committed by Tsu-ba-me
parent b70984f5e5
commit 894558d177
  1. 2
      striker-ui/components/Nodes/AnvilNode.tsx

@ -90,7 +90,7 @@ const AnvilNode = ({
<BodyText text="Member: " /> <BodyText text="Member: " />
</Box> </Box>
<Box> <Box>
<Switch checked /> <Switch checked disabled={!node.removable} />
</Box> </Box>
</Box> </Box>
{node.state !== 'ready' && ( {node.state !== 'ready' && (

Loading…
Cancel
Save