From 1be0debc63db6eec85ff3cf84de65349d157b741 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 24 Mar 2026 20:31:05 +0200 Subject: [PATCH] fix --- src/stores/local_config.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/stores/local_config.js b/src/stores/local_config.js index b81a55408..6d52f94d2 100644 --- a/src/stores/local_config.js +++ b/src/stores/local_config.js @@ -6,7 +6,8 @@ import { useInstanceStore } from 'src/stores/instance' import { LOCAL_DEFAULT_CONFIG, - LOCAL_DEFAULT_CONFIG_DEFINITIONS + LOCAL_DEFAULT_CONFIG_DEFINITIONS, + validateSetting, } from 'src/modules/default_config_state' export const defaultState = { @@ -55,8 +56,8 @@ export const useLocalConfigStore = defineStore('local_config', { persist: { afterLoad(state) { return { - prefsStorage: state.prefsStorage ?? { ...configDefaultState }, - tempStorage: { ...configDefaultState }, + prefsStorage: state.prefsStorage ?? { ...LOCAL_DEFAULT_CONFIG }, + tempStorage: { ...LOCAL_DEFAULT_CONFIG }, } }, },