fix(storidge): snapshot can now be created without comments

storidge-standalone
baron_l 2019-03-12 19:15:44 +01:00
parent 74934beee2
commit a8586fea61
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@
<div class="row" ng-if="isCioDriver">
<div class="col-sm-12">
<storidge-snapshot-creation volume-id="storidgeVolume.Name">
<storidge-snapshot-creation volume-id="storidgeVolume.Vdisk">
</storidge-snapshot-creation>
</div>
</div>

View File

@ -11,7 +11,7 @@
</div>
<div class="form-group">
<div class="col-sm-12">
<button type="button" class="btn btn-primary btn-sm" ng-disabled="$ctrl.state.actionInProgress || !$ctrl.formValues.Comment"
<button type="button" class="btn btn-primary btn-sm" ng-disabled="$ctrl.state.actionInProgress"
ng-click="$ctrl.createSnapshot()" button-spinner="$ctrl.state.actionInProgress">
<span ng-hide="$ctrl.state.actionInProgress">Create snapshot</span>
<span ng-show="$ctrl.state.actionInProgress">Creating snapshot...</span>