mirror of
https://github.com/Readarr/Readarr
synced 2025-12-16 05:12:42 +01:00
Fixed: Prevent Bookshelf error if items is undefined
This commit is contained in:
parent
7cc9a67b74
commit
8adf67ed5a
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ function createMapStateToProps() {
|
|||
...otherState
|
||||
} = bookshelves;
|
||||
return ({
|
||||
helptext: items.helptext && items.helptext[name] ? items.helptext[name] : '',
|
||||
helptext: items && items.helptext && items.helptext[name] ? items.helptext[name] : '',
|
||||
user: items && items.user ? items.user : '',
|
||||
items: items && items.shelves ? items.shelves : [],
|
||||
...otherState
|
||||
|
|
|
|||
Loading…
Reference in a new issue