1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-08-18 00:09:37 +02:00

Protect against undefined SizeOnDisk

Fixes #5205

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
This commit is contained in:
Qstick 2020-10-16 22:59:21 -04:00
parent 37c9701237
commit 0086e2699e

View File

@ -549,7 +549,7 @@ class MovieDetails extends Component {
>
<span className={styles.sizeOnDisk}>
{
formatBytes(sizeOnDisk)
formatBytes(sizeOnDisk || 0)
}
</span>
</InfoLabel>