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,
|
||||
disambiguation,
|
||||
albumType,
|
||||
statistics,
|
||||
statistics = {},
|
||||
monitored,
|
||||
releaseDate,
|
||||
ratings,
|
||||
|
|
|
@ -61,7 +61,7 @@ class ArtistIndexBanner extends Component {
|
|||
status,
|
||||
foreignArtistId,
|
||||
nextAiring,
|
||||
statistics,
|
||||
statistics = {},
|
||||
images,
|
||||
bannerWidth,
|
||||
bannerHeight,
|
||||
|
|
|
@ -61,7 +61,7 @@ class ArtistIndexPoster extends Component {
|
|||
foreignArtistId,
|
||||
status,
|
||||
nextAiring,
|
||||
statistics,
|
||||
statistics = {},
|
||||
images,
|
||||
posterWidth,
|
||||
posterHeight,
|
||||
|
|
Loading…
Reference in New Issue