1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00

fixed ui implementation of get adhoc permission label

This commit is contained in:
John Mitchell 2015-10-06 11:24:38 -04:00
parent c55741f6c6
commit 21ff08e4a5

View File

@ -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;
})