mirror of https://github.com/lidarr/Lidarr
Fixed: Prevent JS errors when statistics is null
This commit is contained in:
parent
36b2942cef
commit
a9e59b7798
|
@ -138,7 +138,7 @@ class AlbumDetails extends Component {
|
||||||
title,
|
title,
|
||||||
disambiguation,
|
disambiguation,
|
||||||
albumType,
|
albumType,
|
||||||
statistics,
|
statistics = {},
|
||||||
monitored,
|
monitored,
|
||||||
releaseDate,
|
releaseDate,
|
||||||
ratings,
|
ratings,
|
||||||
|
|
|
@ -61,7 +61,7 @@ class ArtistIndexBanner extends Component {
|
||||||
status,
|
status,
|
||||||
foreignArtistId,
|
foreignArtistId,
|
||||||
nextAiring,
|
nextAiring,
|
||||||
statistics,
|
statistics = {},
|
||||||
images,
|
images,
|
||||||
bannerWidth,
|
bannerWidth,
|
||||||
bannerHeight,
|
bannerHeight,
|
||||||
|
|
|
@ -61,7 +61,7 @@ class ArtistIndexPoster extends Component {
|
||||||
foreignArtistId,
|
foreignArtistId,
|
||||||
status,
|
status,
|
||||||
nextAiring,
|
nextAiring,
|
||||||
statistics,
|
statistics = {},
|
||||||
images,
|
images,
|
||||||
posterWidth,
|
posterWidth,
|
||||||
posterHeight,
|
posterHeight,
|
||||||
|
|
Loading…
Reference in New Issue