From cb08c0767d63547c2568efcbbd4ed36780b289e5 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Wed, 22 Nov 2023 21:50:29 +0200 Subject: [PATCH] Switch assignment to operator --- frontend/src/Store/Actions/Settings/importLists.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Store/Actions/Settings/importLists.js b/frontend/src/Store/Actions/Settings/importLists.js index 53416272b..2daccdde7 100644 --- a/frontend/src/Store/Actions/Settings/importLists.js +++ b/frontend/src/Store/Actions/Settings/importLists.js @@ -122,7 +122,7 @@ export default { return selectProviderSchema(state, section, payload, (selectedSchema) => { selectedSchema.name = payload.presetName ?? payload.implementationName; selectedSchema.implementationName = payload.implementationName; - selectedSchema.minRefreshInterval ??= payload.minRefreshInterval; + selectedSchema.minRefreshInterval = selectedSchema.minRefreshInterval ?? payload.minRefreshInterval; selectedSchema.minimumAvailability = 'released'; selectedSchema.rootFolderPath = '';