Skip to content

Commit

Permalink
fix(google): do not display zones for regional mig unless selected ex…
Browse files Browse the repository at this point in the history
…plicitly (#7527)
  • Loading branch information
maggieneterval committed Oct 15, 2019
1 parent 35241af commit b7b49d0
Showing 1 changed file with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,9 @@
</div>
</div>

<div class="form-group" ng-if="vm.command.regional">
<div class="form-group" ng-if="vm.command.regional && vm.command.selectZones">
<div class="col-md-3 sm-label-right">Zones</div>
<div class="col-md-7" ng-if="!vm.command.selectZones">
<p>
Server group will be available in:
</p>
<ul>
<li ng-repeat="zone in vm.command.backingData.filtered.truncatedZones">
{{zone}}
</li>
</ul>
</div>
<div class="col-md-7" ng-if="vm.command.selectZones">
<div class="col-md-7">
<ui-select multiple ng-model="vm.command.distributionPolicy.zones" class="form-control input-sm">
<ui-select-match>{{ $item }}</ui-select-match>
<ui-select-choices repeat="zone as zone in vm.command.backingData.filtered.zones">
Expand Down

0 comments on commit b7b49d0

Please sign in to comment.