mirror of
https://github.com/fankes/beszel.git
synced 2025-10-20 02:09:28 +08:00
change swap chart placement
This commit is contained in:
@@ -372,12 +372,6 @@ export default function SystemDetail({ name }: { name: string }) {
|
|||||||
</ChartCard>
|
</ChartCard>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{(systemStats.at(-1)?.stats.su ?? 0) > 0 && (
|
|
||||||
<ChartCard grid={grid} title="Swap Usage" description="Swap space used by the system">
|
|
||||||
<SwapChart ticks={ticks} systemData={systemStats} />
|
|
||||||
</ChartCard>
|
|
||||||
)}
|
|
||||||
|
|
||||||
<ChartCard grid={grid} title="Disk Space" description="Usage of root partition">
|
<ChartCard grid={grid} title="Disk Space" description="Usage of root partition">
|
||||||
<DiskChart
|
<DiskChart
|
||||||
ticks={ticks}
|
ticks={ticks}
|
||||||
@@ -420,6 +414,12 @@ export default function SystemDetail({ name }: { name: string }) {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{(systemStats.at(-1)?.stats.su ?? 0) > 0 && (
|
||||||
|
<ChartCard grid={grid} title="Swap Usage" description="Swap space used by the system">
|
||||||
|
<SwapChart ticks={ticks} systemData={systemStats} />
|
||||||
|
</ChartCard>
|
||||||
|
)}
|
||||||
|
|
||||||
{systemStats.at(-1)?.stats.t && (
|
{systemStats.at(-1)?.stats.t && (
|
||||||
<ChartCard grid={grid} title="Temperature" description="Temperatures of system sensors">
|
<ChartCard grid={grid} title="Temperature" description="Temperatures of system sensors">
|
||||||
<TemperatureChart ticks={ticks} systemData={systemStats} />
|
<TemperatureChart ticks={ticks} systemData={systemStats} />
|
||||||
|
Reference in New Issue
Block a user