Fix storage calculation

This commit is contained in:
Jyotirmoy Bandyopadhayaya 2022-07-08 15:49:11 +05:30
parent 6ba7d6d918
commit 19ed765a82
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
]" />
<p class="info">
<b>{{ $t('widgets.glances.disk-space-free') }}</b>:
{{ disk.used | formatSize }} out of {{ disk.size | formatSize }}
{{ disk.size - disk.used | formatSize }} out of {{ disk.size | formatSize }}
</p>
<p class="info"><b>{{ $t('widgets.glances.disk-mount-point') }}</b>: {{ disk.mnt_point }}</p>
<p class="info"><b>{{ $t('widgets.glances.disk-file-system') }}</b>: {{ disk.fs_type }}</p>