Disable launch button when there are zero nodes

This commit is contained in:
Marliana Lara
2020-03-26 10:16:33 -04:00
parent ca82f48c18
commit 979f549d90

View File

@@ -112,7 +112,7 @@ function VisualizerToolbar({
<ActionButton
id="visualizer-launch"
variant="plain"
isDisabled={!canLaunch}
isDisabled={!canLaunch || totalNodes === 0}
onClick={handleLaunch}
>
<RocketIcon />