1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-19 21:46:43 -04:00

Fixed: Formatting empty size on disk values

This commit is contained in:
Bogdan
2024-08-05 17:56:15 +03:00
committed by Mark McDowall
parent 363f8fc347
commit cc03ce04f1
6 changed files with 22 additions and 28 deletions
@@ -194,10 +194,12 @@ function getInfoRowProps(
}
if (name === 'sizeOnDisk') {
const { sizeOnDisk = 0 } = props;
return {
title: translate('SizeOnDisk'),
iconName: icons.DRIVE,
label: formatBytes(props.sizeOnDisk),
label: formatBytes(sizeOnDisk),
};
}