diff --git a/ui/src/components/view/DetailsTab.vue b/ui/src/components/view/DetailsTab.vue index b04830b3c3c..00aa92389c9 100644 --- a/ui/src/components/view/DetailsTab.vue +++ b/ui/src/components/view/DetailsTab.vue @@ -46,6 +46,15 @@ {{ service.name }} : {{ service.provider[0].name }} +
+ {{ $bytesToHumanReadableSize(dataResource[item]) }} + + + + +
{{ volume.type }} - {{ volume.path }} ({{ parseFloat(volume.size / (1024.0 * 1024.0 * 1024.0)).toFixed(1) }} GB) diff --git a/ui/src/components/view/InfoCard.vue b/ui/src/components/view/InfoCard.vue index 69c40233d08..66c878da0f8 100644 --- a/ui/src/components/view/InfoCard.vue +++ b/ui/src/components/view/InfoCard.vue @@ -290,10 +290,20 @@
-
{{ $t('label.disksize') }}
+
{{ $t('label.size') }}
+
{{ $t('label.disksize') }}
{{ (resource.volumes.reduce((total, item) => total += item.size, 0) / (1024 * 1024 * 1024.0)).toFixed(2) }} GB Storage + + {{ $bytesToHumanReadableSize(resource.size) }} + + + + + {{ resource.sizegb || (resource.size/1024.0) }}