summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormabashian <mabashia@redhat.com>2022-10-11 15:46:33 +0200
committermabashian <mabashia@redhat.com>2022-10-11 15:46:33 +0200
commitcdb51a75b8b33014a0ebd8e744d4a74cfdcec0c1 (patch)
tree65f2dfb18206d6a3f72b9908947036c7c77de284
parentMerge pull request #13031 from ansible/attribute_error_field (diff)
downloadawx-cdb51a75b8b33014a0ebd8e744d4a74cfdcec0c1.tar.xz
awx-cdb51a75b8b33014a0ebd8e744d4a74cfdcec0c1.zip
Fixes bug re-launching adhoc command with passwords required
-rw-r--r--awx/ui/src/components/LaunchPrompt/LaunchPrompt.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/awx/ui/src/components/LaunchPrompt/LaunchPrompt.js b/awx/ui/src/components/LaunchPrompt/LaunchPrompt.js
index 005c9069e9..3b7f9e9d35 100644
--- a/awx/ui/src/components/LaunchPrompt/LaunchPrompt.js
+++ b/awx/ui/src/components/LaunchPrompt/LaunchPrompt.js
@@ -129,7 +129,7 @@ function PromptModalForm({
}}
title={t`Launch | ${resource.name}`}
description={
- resource.description.length > 512 ? (
+ resource.description?.length > 512 ? (
<ExpandableSection
toggleText={
showDescription ? t`Hide description` : t`Show description`