diskusage: show used instead of free

we have to match watch is shown in the progressbar below
This commit is contained in:
Girish Ramakrishnan
2026-01-13 21:53:17 +01:00
parent 0382113567
commit e7011ca0a5
+1 -1
View File
@@ -113,7 +113,7 @@ onUnmounted(() => {
<Button v-if="isExpanded" small tool plain icon="fa-solid fa-rotate" :disabled="percent < 100" :loading="percent < 100" @click="getUsage()"/>
</div>
<div class="disk-item-size-and-speed">
<div>{{ prettyDecimalSize(filesystem.available) }} free of {{ prettyDecimalSize(filesystem.size) }} total
<div>{{ prettyDecimalSize(filesystem.used) }} used of {{ prettyDecimalSize(filesystem.size) }} total
<span v-if="showingCachedValue">(Last updated {{ prettyDate(ts) }})</span>
</div>
<div v-if="speed !== -1">I/O Rate: {{ prettyDecimalSize(speed * 1000 * 1000) }}/sec</div>