Fixed: Default value for MonitorNew

pull/2812/head
Qstick 3 years ago committed by GitHub
parent 740650ff82
commit 90fb1a02c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,6 +4,7 @@ import { batchActions } from 'redux-batched-actions';
import { createThunk, handleThunks } from 'Store/thunks'; import { createThunk, handleThunks } from 'Store/thunks';
import getNewAlbum from 'Utilities/Album/getNewAlbum'; import getNewAlbum from 'Utilities/Album/getNewAlbum';
import getNewArtist from 'Utilities/Artist/getNewArtist'; import getNewArtist from 'Utilities/Artist/getNewArtist';
import monitorNewItemsOptions from 'Utilities/Artist/monitorNewItemsOptions';
import monitorOptions from 'Utilities/Artist/monitorOptions'; import monitorOptions from 'Utilities/Artist/monitorOptions';
import createAjaxRequest from 'Utilities/createAjaxRequest'; import createAjaxRequest from 'Utilities/createAjaxRequest';
import getSectionState from 'Utilities/State/getSectionState'; import getSectionState from 'Utilities/State/getSectionState';
@ -32,6 +33,7 @@ export const defaultState = {
defaults: { defaults: {
rootFolderPath: '', rootFolderPath: '',
monitor: monitorOptions[0].key, monitor: monitorOptions[0].key,
monitorNewItems: monitorNewItemsOptions[0].key,
qualityProfileId: 0, qualityProfileId: 0,
metadataProfileId: 0, metadataProfileId: 0,
tags: [] tags: []

Loading…
Cancel
Save