add ability to set custom name for extra filesystems (#379)

This commit is contained in:
henrygd
2025-10-09 13:18:10 -04:00
parent d00c0488c3
commit 4056345216
6 changed files with 274 additions and 11 deletions

View File

@@ -932,7 +932,7 @@ export default memo(function SystemDetail({ id }: { id: string }) {
>
<DiskChart
chartData={chartData}
dataKey={`stats.efs.${extraFsName}.du`}
dataKey={({ stats }: SystemStatsRecord) => stats?.efs?.[extraFsName]?.du}
diskSize={systemStats.at(-1)?.stats.efs?.[extraFsName].d ?? NaN}
/>
</ChartCard>