Add mountpoint as fourth metric

This commit is contained in:
antoplt committed 2025-11-18 14:38:03 +01:00
1 parent 4042d34585
commit 1b4edf16fb
3 files changed
+23 -4

No files matched your search

@@ -128,6 +128,14 @@ const useHardwareUtils = () => {
);
};
const formatMountpoint = (mountpoint) => {
return (
<>
{String(mountpoint)}
</>
)
}
/**
* Converts a decimal value to a percentage
*
@@ -187,6 +195,7 @@ const useHardwareUtils = () => {
return {
formatBytes,
formatDeviceName,
formatMountpoint,
decimalToPercentage,
buildTemps,
getDimensions,