Protect against undefined SizeOnDisk

Fixes #5205

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
new-exclusion-lists
Qstick 4 years ago
parent 37c9701237
commit 0086e2699e

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

Loading…
Cancel
Save