Remove graph subtext and move to footer

This commit is contained in:
Girish Ramakrishnan
2025-10-03 17:10:56 +02:00
parent 0b310f849a
commit 02fe971f0b
13 changed files with 15 additions and 21 deletions
+2 -4
View File
@@ -209,7 +209,6 @@ onUnmounted(async () => {
<div class="graphs" v-if="!busy">
<GraphItem ref="cpuGraphItem"
:title="$t('system.cpuUsage.title')"
:subtext='systemCpus.length ? `${systemCpus.length} Core "${systemCpus[0].model}"` : ""'
:period="period"
yscale="cpu"
:cpu-count="systemCpus.length"
@@ -218,7 +217,6 @@ onUnmounted(async () => {
<GraphItem ref="memoryGraphItem"
:title="$t('system.systemMemory.title')"
:subtext="`RAM: ${prettyDecimalSize(systemMemory.memory)} Swap: ${prettyDecimalSize(systemMemory.swap)}`"
:period="period"
yscale="memory"
:memory="systemMemory.memory + systemMemory.swap"
@@ -227,7 +225,7 @@ onUnmounted(async () => {
<GraphItem ref="diskGraphItem"
title="Disk I/O"
:subtext="$t('app.graphs.diskIOTotal', { read: blockReadTotal, write: blockWriteTotal })"
:footer="$t('app.graphs.diskIOTotal', { read: blockReadTotal, write: blockWriteTotal })"
:period="period"
yscale="disk"
>
@@ -235,7 +233,7 @@ onUnmounted(async () => {
<GraphItem ref="networkGraphItem"
title="Network I/O"
:subtext="$t('app.graphs.networkIOTotal', { inbound: networkReadTotal, outbound: networkWriteTotal })"
:footer="$t('app.graphs.networkIOTotal', { inbound: networkReadTotal, outbound: networkWriteTotal })"
:period="period"
yscale="network"
>