setSelected(selectedItems)}
- isSelectedDraggable
- />
+
+ setSelected(selectedItems)}
+ isSelectedDraggable
+ />
+
);
}
diff --git a/awx/ui/src/components/LaunchPrompt/steps/InventoryStep.js b/awx/ui/src/components/LaunchPrompt/steps/InventoryStep.js
index 494e54e815..3882abd602 100644
--- a/awx/ui/src/components/LaunchPrompt/steps/InventoryStep.js
+++ b/awx/ui/src/components/LaunchPrompt/steps/InventoryStep.js
@@ -70,7 +70,7 @@ function InventoryStep({ warningMessage = null }) {
}
return (
- <>
+
{meta.touched && meta.error && (
)}
@@ -109,7 +109,7 @@ function InventoryStep({ warningMessage = null }) {
selectItem={helpers.setValue}
deselectItem={() => field.onChange(null)}
/>
- >
+
);
}
diff --git a/awx/ui/src/components/LaunchPrompt/steps/OtherPromptsStep.js b/awx/ui/src/components/LaunchPrompt/steps/OtherPromptsStep.js
index fa8bccf63f..b4c97312fd 100644
--- a/awx/ui/src/components/LaunchPrompt/steps/OtherPromptsStep.js
+++ b/awx/ui/src/components/LaunchPrompt/steps/OtherPromptsStep.js
@@ -28,95 +28,97 @@ function OtherPromptsStep({ launchConfig, variablesMode, onVarModeChange }) {
? jobHelpText
: workflowHelpText;
return (
-
+
+
+
);
}
diff --git a/awx/ui/src/components/LaunchPrompt/steps/PreviewStep.js b/awx/ui/src/components/LaunchPrompt/steps/PreviewStep.js
index b2612a55fb..753133b109 100644
--- a/awx/ui/src/components/LaunchPrompt/steps/PreviewStep.js
+++ b/awx/ui/src/components/LaunchPrompt/steps/PreviewStep.js
@@ -52,7 +52,7 @@ function PreviewStep({ resource, launchConfig, surveyConfig, formErrors }) {
}
return (
- <>
+
{formErrors && (
{t`Some of the previous step(s) have errors`}
@@ -70,7 +70,7 @@ function PreviewStep({ resource, launchConfig, surveyConfig, formErrors }) {
launchConfig={launchConfig}
overrides={overrides}
/>
- >
+
);
}
diff --git a/awx/ui/src/components/LaunchPrompt/steps/SurveyStep.js b/awx/ui/src/components/LaunchPrompt/steps/SurveyStep.js
index 9e526c984b..770983f05e 100644
--- a/awx/ui/src/components/LaunchPrompt/steps/SurveyStep.js
+++ b/awx/ui/src/components/LaunchPrompt/steps/SurveyStep.js
@@ -31,16 +31,18 @@ function SurveyStep({ surveyConfig }) {
float: NumberField,
};
return (
-
+
+
+
);
}
SurveyStep.propTypes = {
diff --git a/awx/ui/src/screens/Template/WorkflowJobTemplateVisualizer/Modals/NodeModals/NodeViewModal.js b/awx/ui/src/screens/Template/WorkflowJobTemplateVisualizer/Modals/NodeModals/NodeViewModal.js
index 181f5045eb..61dd6d477a 100644
--- a/awx/ui/src/screens/Template/WorkflowJobTemplateVisualizer/Modals/NodeModals/NodeViewModal.js
+++ b/awx/ui/src/screens/Template/WorkflowJobTemplateVisualizer/Modals/NodeModals/NodeViewModal.js
@@ -19,6 +19,8 @@ function NodeViewModal({ readOnly }) {
const {
fullUnifiedJobTemplate,
originalNodeCredentials,
+ originalNodeInstanceGroups,
+ originalNodeLabels,
originalNodeObject,
promptValues,
} = nodeToView;
@@ -160,7 +162,7 @@ function NodeViewModal({ readOnly }) {
originalNodeObject.summary_fields.execution_environment;
}
if (launchConfig.ask_labels_on_launch) {
- overrides.labels = originalNodeObject.labels;
+ overrides.labels = originalNodeLabels || [];
}
if (launchConfig.ask_forks_on_launch) {
overrides.forks = originalNodeObject.forks;
@@ -204,6 +206,9 @@ function NodeViewModal({ readOnly }) {
if (launchConfig.ask_credential_on_launch) {
overrides.credentials = originalNodeCredentials || [];
}
+ if (launchConfig.ask_instance_groups_on_launch) {
+ overrides.instance_groups = originalNodeInstanceGroups || [];
+ }
}
let nodeUpdatedConvergence = {};