mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-26 22:46:37 -04:00
Fixed: Artist Statistics throwing errors when null
This commit is contained in:
@@ -416,8 +416,12 @@ ArtistIndexRow.propTypes = {
|
||||
};
|
||||
|
||||
ArtistIndexRow.defaultProps = {
|
||||
trackCount: 0,
|
||||
trackFileCount: 0
|
||||
statistics: {
|
||||
albumCount: 0,
|
||||
trackCount: 0,
|
||||
trackFileCount: 0,
|
||||
totalTrackCount: 0
|
||||
}
|
||||
};
|
||||
|
||||
export default ArtistIndexRow;
|
||||
|
||||
Reference in New Issue
Block a user