refactor: use online instead of is_removable

main
Josue 4 years ago committed by Tsu-ba-me
parent 4f88f0113b
commit 440b5c81ef
  1. 2
      striker-ui/components/Hosts/AnvilHost.tsx

@ -115,7 +115,7 @@ const AnvilHost = ({
<Box>
<Switch
checked={host.state === 'online'}
disabled={!host.removable}
disabled={!(host.state === 'online')}
onChange={() =>
putJSON('/set_membership', {
host_uuid: host.host_uuid,

Loading…
Cancel
Save