Remove graph subtext and move to footer
This commit is contained in:
@@ -140,7 +140,6 @@ onUnmounted(async () => {
|
||||
|
||||
<GraphItem ref="cpuGraphItem"
|
||||
:title="$t('system.cpuUsage.title')"
|
||||
:subtext="`${app.cpuQuota}% of ${systemCpus.length} Core ${systemCpus[0].model}`"
|
||||
:period="period"
|
||||
yscale="cpu"
|
||||
:cpu-count="systemCpus.length"
|
||||
@@ -150,7 +149,6 @@ onUnmounted(async () => {
|
||||
|
||||
<GraphItem ref="memoryGraphItem"
|
||||
title="Memory"
|
||||
:subtext="`RAM: ${prettyBinarySize(app.memoryLimit || app.manifest.memoryLimit || 256*1024*1024)}`"
|
||||
:period="period"
|
||||
yscale="memory"
|
||||
:memory="appMemory"
|
||||
@@ -160,7 +158,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"
|
||||
>
|
||||
@@ -168,7 +166,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"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user