From 8901118aef372193a503da1302ce73e981750979 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sun, 6 Aug 2023 16:20:50 +0300 Subject: [PATCH] Add default schema values for root folders (cherry picked from commit 7ae82a982ce17efa46c0a0b23256a26edf90babb) --- frontend/src/Store/Actions/Settings/rootFolders.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/src/Store/Actions/Settings/rootFolders.js b/frontend/src/Store/Actions/Settings/rootFolders.js index a4d9f921b..162a97dc5 100644 --- a/frontend/src/Store/Actions/Settings/rootFolders.js +++ b/frontend/src/Store/Actions/Settings/rootFolders.js @@ -4,6 +4,8 @@ import createRemoveItemHandler from 'Store/Actions/Creators/createRemoveItemHand import createSaveProviderHandler, { createCancelSaveProviderHandler } from 'Store/Actions/Creators/createSaveProviderHandler'; import createSetSettingValueReducer from 'Store/Actions/Creators/Reducers/createSetSettingValueReducer'; import { createThunk } from 'Store/thunks'; +import monitorNewItemsOptions from 'Utilities/Author/monitorNewItemsOptions'; +import monitorOptions from 'Utilities/Author/monitorOptions'; // // Variables @@ -51,6 +53,10 @@ export default { port: 8080, useSsl: false, outputProfile: 'default', + defaultQualityProfileId: 0, + defaultMetadataProfileId: 0, + defaultMonitorOption: monitorOptions[0].key, + defaultNewItemMonitorOption: monitorNewItemsOptions[0].key, defaultTags: [] }, isSaving: false,