mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
Fixed: Error refreshing page on Activity/Wanted
This commit is contained in:
@@ -17,10 +17,13 @@ import CutoffUnmet from './CutoffUnmet';
|
||||
function createMapStateToProps() {
|
||||
return createSelector(
|
||||
(state) => state.wanted.cutoffUnmet,
|
||||
(state) => state.authors,
|
||||
createCommandExecutingSelector(commandNames.CUTOFF_UNMET_BOOK_SEARCH),
|
||||
(cutoffUnmet, isSearchingForCutoffUnmetBooks) => {
|
||||
(cutoffUnmet, authors, isSearchingForCutoffUnmetBooks) => {
|
||||
|
||||
return {
|
||||
isAuthorFetching: authors.isFetching,
|
||||
isAuthorPopulated: authors.isPopulated,
|
||||
isSearchingForCutoffUnmetBooks,
|
||||
isSaving: cutoffUnmet.items.filter((m) => m.isSaving).length > 1,
|
||||
...cutoffUnmet
|
||||
|
||||
Reference in New Issue
Block a user