mirror of https://github.com/apache/cloudstack.git
disabled create and add volume button for VMs in Error state (#10859)
Co-authored-by: erik.silva.scclouds <erik.silva@scclouds.com.br>
This commit is contained in:
parent
572fc11a64
commit
7bab40db6f
|
|
@ -39,7 +39,7 @@
|
|||
style="width: 100%; margin-bottom: 10px"
|
||||
@click="showAddVolModal"
|
||||
:loading="loading"
|
||||
:disabled="!('createVolume' in $store.getters.apis)">
|
||||
:disabled="!('createVolume' in $store.getters.apis) || this.vm.state === 'Error'">
|
||||
<template #icon><plus-outlined /></template> {{ $t('label.action.create.volume.add') }}
|
||||
</a-button>
|
||||
<volumes-tab :resource="vm" :loading="loading" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue