Skip to content

Commit 3cbde8c

Browse files
author
Hoang Nguyen
authored
UI - Hide shrink disk option on XCP-NG/Xenserver (#5829)
* hide shrink disk option on XCP-NG/Xenserver
1 parent 2774bc1 commit 3cbde8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/src/views/storage/ResizeVolume.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
:autoFocus="customDiskOffering || resource.type === 'ROOT'"/>
4949
</a-form-item>
5050
</div>
51-
<a-form-item :label="$t('label.shrinkok')">
51+
<a-form-item :label="$t('label.shrinkok')" v-if="!['XenServer'].includes(resource.hypervisor)">
5252
<a-checkbox v-decorator="['shrinkok']" />
5353
</a-form-item>
5454
<div :span="24" class="action-button">

0 commit comments

Comments
 (0)