mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 10:41:05 -03:30
Disable launch button when there are zero nodes
This commit is contained in:
@@ -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