diff --git a/awx/ui/client/src/dashboard/hosts/dashboard-hosts-edit.controller.js b/awx/ui/client/src/dashboard/hosts/dashboard-hosts-edit.controller.js index 08abb34cdd..8393088f4a 100644 --- a/awx/ui/client/src/dashboard/hosts/dashboard-hosts-edit.controller.js +++ b/awx/ui/client/src/dashboard/hosts/dashboard-hosts-edit.controller.js @@ -24,7 +24,8 @@ id: $scope.host.id, variables: $scope.extraVars === '---' || $scope.extraVars === '{}' ? null : $scope.extraVars, name: $scope.name, - description: $scope.description + description: $scope.description, + enabled: $scope.host.enabled }; DashboardHostService.putHost(host).then(function(res){ $state.go('^', null, {reload: true});