1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-22 22:15:17 -04:00

Convert formatBytes to TypeScript

Closes #10272
This commit is contained in:
Bogdan
2024-08-14 18:48:49 +03:00
parent abc7efabea
commit 6c456e57d8
5 changed files with 8 additions and 8 deletions
@@ -134,10 +134,12 @@ function getInfoRowProps(
}
if (name === 'sizeOnDisk') {
const { sizeOnDisk = 0 } = props;
return {
title: 'Size on Disk',
iconName: icons.DRIVE,
label: formatBytes(props.sizeOnDisk),
label: formatBytes(sizeOnDisk),
};
}