diff --git a/src/renderer/store/modules/settings.js b/src/renderer/store/modules/settings.js index 3b62b5e9..13144dea 100644 --- a/src/renderer/store/modules/settings.js +++ b/src/renderer/store/modules/settings.js @@ -325,7 +325,9 @@ const customActions = { dispatch(defaultSideEffectsTriggerId(_id), value) } - commit(defaultMutationId(_id), value) + if (Object.keys(mutations).includes(defaultMutationId(_id))) { + commit(defaultMutationId(_id), value) + } } } catch (errMessage) { console.error(errMessage)