mirror of
https://github.com/ansible/awx.git
synced 2026-03-21 10:57:36 -02:30
Merge pull request #6434 from marshmalien/6432-launch-btn-bug
Disable launch button when there are zero nodes Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
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