mirror of https://github.com/apache/cloudstack.git
CKS: fix wrong format of cluster size on UI (#8182)
(cherry picked from commit e6f048bc2e)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
7260204447
commit
c32d2fa990
|
|
@ -194,7 +194,10 @@
|
|||
<router-link :to="{ path: '/volume/' + record.volumeid }">{{ text }}</router-link>
|
||||
</template>
|
||||
<template #size="{ text }">
|
||||
<span v-if="text">
|
||||
<span v-if="text && $route.path === '/kubernetes'">
|
||||
{{ text }}
|
||||
</span>
|
||||
<span v-else-if="text">
|
||||
{{ parseFloat(parseFloat(text) / 1024.0 / 1024.0 / 1024.0).toFixed(2) }} GiB
|
||||
</span>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Reference in New Issue