mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 11:41:08 -03:30
fixed ui implementation of get adhoc permission label
This commit is contained in:
@@ -24,10 +24,10 @@
|
|||||||
.then(function (data) {
|
.then(function (data) {
|
||||||
data = data.data;
|
data = data.data;
|
||||||
var choices = data.actions.GET.permission_type.choices;
|
var choices = data.actions.GET.permission_type.choices;
|
||||||
|
|
||||||
// manually add the adhoc label to the choices object
|
// manually add the adhoc label to the choices object
|
||||||
choices.push(["adhoc",
|
choices.push(["adhoc",
|
||||||
data.actions.GET.run_ad_hoc_commands.label]);
|
data.actions.GET.run_ad_hoc_commands.help_text]);
|
||||||
|
|
||||||
return choices;
|
return choices;
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user