mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-14 15:58:38 -05:00
Disable launch button when there are zero nodes
This commit is contained in:
+1
-1
@@ -112,7 +112,7 @@ function VisualizerToolbar({
|
|||||||
<ActionButton
|
<ActionButton
|
||||||
id="visualizer-launch"
|
id="visualizer-launch"
|
||||||
variant="plain"
|
variant="plain"
|
||||||
isDisabled={!canLaunch}
|
isDisabled={!canLaunch || totalNodes === 0}
|
||||||
onClick={handleLaunch}
|
onClick={handleLaunch}
|
||||||
>
|
>
|
||||||
<RocketIcon />
|
<RocketIcon />
|
||||||
|
|||||||
Reference in New Issue
Block a user