1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 18:21:12 +03:00

pass enabled/disabled to DsahboardHostService #1679

This commit is contained in:
Leigh Johnson 2016-04-27 09:42:23 -04:00
parent 443d54407b
commit 5afd8ecce4

View File

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