mirror of https://github.com/apache/cloudstack.git
Show volume UUIDs in the backup details page (#12156)
Co-authored-by: toni.zamparetti <toni.zamparetti@scclouds.com.br>
This commit is contained in:
parent
46cb805c90
commit
81b991ae9c
|
|
@ -64,8 +64,8 @@
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="$route.meta.name === 'backup' && item === 'volumes'">
|
<div v-else-if="$route.meta.name === 'backup' && item === 'volumes'">
|
||||||
<div v-for="(volume, idx) in JSON.parse(dataResource[item])" :key="idx">
|
<div v-for="(volume, idx) in JSON.parse(dataResource[item])" :key="idx">
|
||||||
<router-link v-if="!dataResource['vmbackupofferingremoved']" :to="{ path: '/volume/' + volume.uuid }">{{ volume.type }} - {{ volume.path }}</router-link>
|
<router-link v-if="!dataResource['vmbackupofferingremoved']" :to="{ path: '/volume/' + volume.uuid }">{{ volume.type }} - {{ volume.uuid }}</router-link>
|
||||||
<span v-else>{{ volume.type }} - {{ volume.path }}</span> ({{ parseFloat(volume.size / (1024.0 * 1024.0 * 1024.0)).toFixed(1) }} GB)
|
<span v-else>{{ volume.type }} - {{ volume.uuid }}</span> ({{ parseFloat(volume.size / (1024.0 * 1024.0 * 1024.0)).toFixed(1) }} GB)
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="$route.meta.name === 'computeoffering' && item === 'rootdisksize'">
|
<div v-else-if="$route.meta.name === 'computeoffering' && item === 'rootdisksize'">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue