mirror of
https://github.com/Readarr/Readarr
synced 2026-01-24 16:31:54 +01:00
Fixed: Add author/book fails unless you change Monitor New Items value
This commit is contained in:
parent
6cecf23b88
commit
05a0508d78
1 changed files with 3 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ import { createAction } from 'redux-actions';
|
|||
import { batchActions } from 'redux-batched-actions';
|
||||
import { createThunk, handleThunks } from 'Store/thunks';
|
||||
import getNewAuthor from 'Utilities/Author/getNewAuthor';
|
||||
import monitorNewItemsOptions from 'Utilities/Author/monitorNewItemsOptions';
|
||||
import monitorOptions from 'Utilities/Author/monitorOptions';
|
||||
import getNewBook from 'Utilities/Book/getNewBook';
|
||||
import createAjaxRequest from 'Utilities/createAjaxRequest';
|
||||
|
|
@ -32,6 +33,7 @@ export const defaultState = {
|
|||
authorDefaults: {
|
||||
rootFolderPath: '',
|
||||
monitor: monitorOptions[0].key,
|
||||
monitorNewItems: monitorNewItemsOptions[0].key,
|
||||
qualityProfileId: 0,
|
||||
metadataProfileId: 0,
|
||||
tags: []
|
||||
|
|
@ -40,6 +42,7 @@ export const defaultState = {
|
|||
bookDefaults: {
|
||||
rootFolderPath: '',
|
||||
monitor: monitorOptions[0].key,
|
||||
monitorNewItems: monitorNewItemsOptions[0].key,
|
||||
qualityProfileId: 0,
|
||||
metadataProfileId: 0,
|
||||
tags: []
|
||||
|
|
|
|||
Loading…
Reference in a new issue