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:
parent
c55741f6c6
commit
21ff08e4a5
@ -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;
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user