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