Skip to content

Commit

Permalink
Hide disk usage on system view page
Browse files Browse the repository at this point in the history
Signed-off-by: ryjiang <[email protected]>
  • Loading branch information
shanghaikid committed Nov 15, 2024
1 parent 1ca6cf3 commit 013897d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions client/src/pages/system/DataCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,15 +173,15 @@ const DataCard: FC<DataCardProps & React.HTMLAttributes<HTMLDivElement>> =
label: t('thMemUsage'),
value: `${memUsage.value} ${memUsage.unit}`,
});
hardwareContent.push({
label: t('thDiskUsage'),
value: (
<DataProgress
percent={diskUsage / disk}
desc={getByteString(diskUsage, disk, capacityTrans)}
/>
),
});
// hardwareContent.push({
// label: t('thDiskUsage'),
// value: (
// <DataProgress
// percent={diskUsage / disk}
// desc={getByteString(diskUsage, disk, capacityTrans)}
// />
// ),
// });
}

if (system_configurations) {
Expand Down

0 comments on commit 013897d

Please sign in to comment.