fix error with themes index

This commit is contained in:
Henry Jameson 2026-03-06 12:54:58 +02:00
commit a605e4c337

View file

@ -309,7 +309,7 @@ export const useInterfaceStore = defineStore('interface', {
async fetchThemesIndex() { async fetchThemesIndex() {
try { try {
const value = await getResourcesIndex('/static/styles.json') const value = await getResourcesIndex('/static/styles.json')
useInstanceStore().set({ path: 'simple.themesIndex', value }) useInstanceStore().set({ path: 'themesIndex', value })
return value return value
} catch (e) { } catch (e) {
console.error('Could not fetch themes index', e) console.error('Could not fetch themes index', e)