mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03:30
fixed ui implementation of get adhoc permission label
This commit is contained in:
@@ -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;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user