fix error with themes index
This commit is contained in:
parent
bc70905d96
commit
a605e4c337
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue