Skip to content

Commit

Permalink
feat(dedicated.netapp): disable create volume from snap when unavailable
Browse files Browse the repository at this point in the history
ref: MANAGER-11778

Signed-off-by: Quentin Pavy <[email protected]>
  • Loading branch information
Quentin Pavy committed Jan 9, 2025
1 parent 6e7dfaa commit 8925834
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default {
trackClick: '<',
goToRestoreSnapshot: '<',
goToSnapshots: '<',
isCreateVolumeAvailable: '<',
},
controller,
template,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ <h2 data-translate="netapp_volumes_snapshots"></h2>
<oui-action-menu-item
data-ng-if="$row.type !== $ctrl.SNAPSHOT_TYPE.AUTOMATIC"
data-on-click="$ctrl.createVolumeFromSnapshot($row.id)"
data-disabled="$ctrl.isCreateVolumeAvailable == false"
>
<span
data-translate="netapp_volumes_snapshots_actions_create_volume"
Expand Down

0 comments on commit 8925834

Please sign in to comment.