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:
parent
443d54407b
commit
5afd8ecce4
@ -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});
|
||||
|
Loading…
Reference in New Issue
Block a user