From 21ff08e4a510baea3b6ba06efff2d3afe2be88c1 Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Tue, 6 Oct 2015 11:24:38 -0400 Subject: [PATCH] fixed ui implementation of get adhoc permission label --- awx/ui/client/src/permissions/shared/get-choices.factory.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/src/permissions/shared/get-choices.factory.js b/awx/ui/client/src/permissions/shared/get-choices.factory.js index 57e14433f4..8ad55907a5 100644 --- a/awx/ui/client/src/permissions/shared/get-choices.factory.js +++ b/awx/ui/client/src/permissions/shared/get-choices.factory.js @@ -24,10 +24,10 @@ .then(function (data) { data = data.data; var choices = data.actions.GET.permission_type.choices; - + // manually add the adhoc label to the choices object choices.push(["adhoc", - data.actions.GET.run_ad_hoc_commands.label]); + data.actions.GET.run_ad_hoc_commands.help_text]); return choices; })