mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-02-27 02:04:22 +00:00
Fixed: Prevent Bookshelf error if items is undefined
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user