- // Build the available action options control from the
- // allowed actions, except set-zone which does not make
- // sense in this view because the form has this
- // functionality
- angular.forEach($scope.action.allOptions, function(option) {
- if($scope.node.actions.indexOf(option.name) >= 0
- && option.name !== "set-zone") {
- $scope.action.availableOptions.push(option);
- }
- });
- // Build the available action options control from the forEach( $scope. action. allOptions, function(option) { node.actions. indexOf( option. name) >= 0 action. availableOption s.push( option) ;
- // allowed actions, except set-zone which does not make
- // sense in this view because the form has this
- // functionality
- angular.
- if($scope.
- && option.name !== "set-zone") {
- $scope.
- }
- });