fix(metrics): move disk-fill chart to the very end after IOPS

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-22 01:23:32 +05:00
parent 7a5485c63c
commit ddd37060fe

View File

@@ -277,14 +277,6 @@ export default function GraphsTab({ serverId, vmid, type, node }: Props) {
formatValue={(v) => `${formatBytes(v)}/s`} formatValue={(v) => `${formatBytes(v)}/s`}
headerRight={nicSelector} headerRight={nicSelector}
/> />
<ChartCard
title="Заполненность диска"
data={points}
dataKey="diskpct"
color="hsl(45, 93%, 47%)"
formatValue={(v) => `${v.toFixed(1)}%`}
unit="%"
/>
<ChartCard <ChartCard
title="IOPS чтение" title="IOPS чтение"
data={points} data={points}
@@ -301,6 +293,14 @@ export default function GraphsTab({ serverId, vmid, type, node }: Props) {
formatValue={(v) => `${v.toFixed(0)} ops/s`} formatValue={(v) => `${v.toFixed(0)} ops/s`}
unit=" ops/s" unit=" ops/s"
/> />
<ChartCard
title="Заполненность диска"
data={points}
dataKey="diskpct"
color="hsl(45, 93%, 47%)"
formatValue={(v) => `${v.toFixed(1)}%`}
unit="%"
/>
</div> </div>
)} )}
</div> </div>