fixed ui implementation of get adhoc permission label

This commit is contained in:
John Mitchell
2015-10-06 11:24:38 -04:00
parent 8908f77fea
commit 8cfe02f5fb

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