Skip to content

Commit

Permalink
Fix edit of GOD custom button
Browse files Browse the repository at this point in the history
  • Loading branch information
ZitaNemeckova committed Oct 22, 2019
1 parent 612cb45 commit 16f18e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ function mainCustomButtonFormController(API, miqService, $q, $http) {
}
// set uri_attributes to default for non-Ansible button
if (vm.customButtonModel.button_type == "default") {
vm.customButtonModel.uri_attributes = {"request": "", service_template: null, hosts: null};
vm.customButtonModel.uri_attributes = {"request": vm.customButtonModel.request, service_template: null, hosts: null};
};

vm.customButtonModel.visibility = {
Expand Down

0 comments on commit 16f18e9

Please sign in to comment.