From ea09adbbf317d5499d17c1bcd49fcd6efb767fc7 Mon Sep 17 00:00:00 2001 From: Brandon Sharp <8883217+Reverendheat@users.noreply.github.com> Date: Fri, 11 Feb 2022 13:40:20 -0500 Subject: [PATCH] Add await to handleLaunch (#11649) * Add async to handleLaunch * Fix package-lock Co-authored-by: Wambugu Kironji --- awx/ui/src/components/LaunchButton/LaunchButton.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/src/components/LaunchButton/LaunchButton.js b/awx/ui/src/components/LaunchButton/LaunchButton.js index 675538f90c..be6d444fc5 100644 --- a/awx/ui/src/components/LaunchButton/LaunchButton.js +++ b/awx/ui/src/components/LaunchButton/LaunchButton.js @@ -61,7 +61,7 @@ function LaunchButton({ resource, children }) { } if (canLaunchWithoutPrompt(launch)) { - launchWithParams({}); + await launchWithParams({}); } else { setShowLaunchPrompt(true); }