fix not defaulting to hardcoded defaults

This commit is contained in:
Henry Jameson 2026-03-16 15:13:48 +02:00
commit 18b10ea042
6 changed files with 26 additions and 31 deletions

View file

@ -278,7 +278,7 @@ export const useUserHighlightStore = defineStore('user_highlight', {
const userNew = userData.created_at > NEW_USER_DATE
let dirty = false
const vuexState = await storage.getItem('vuex-lz') ?? {}
const vuexState = (await storage.getItem('vuex-lz')) ?? {}
vuexState.config = vuexState.config ?? {}
const highlight = vuexState.config.highlight ?? {}