Fixed: Prevent JS errors when statistics is null

This commit is contained in:
Qstick 2018-08-10 20:47:28 -04:00
parent 36b2942cef
commit a9e59b7798
3 changed files with 3 additions and 3 deletions

View File

@ -138,7 +138,7 @@ class AlbumDetails extends Component {
title, title,
disambiguation, disambiguation,
albumType, albumType,
statistics, statistics = {},
monitored, monitored,
releaseDate, releaseDate,
ratings, ratings,

View File

@ -61,7 +61,7 @@ class ArtistIndexBanner extends Component {
status, status,
foreignArtistId, foreignArtistId,
nextAiring, nextAiring,
statistics, statistics = {},
images, images,
bannerWidth, bannerWidth,
bannerHeight, bannerHeight,

View File

@ -61,7 +61,7 @@ class ArtistIndexPoster extends Component {
foreignArtistId, foreignArtistId,
status, status,
nextAiring, nextAiring,
statistics, statistics = {},
images, images,
posterWidth, posterWidth,
posterHeight, posterHeight,