cleanup and fixes

This commit is contained in:
Henry Jameson 2025-02-03 00:14:44 +02:00
commit 7d19cc2d53
17 changed files with 80 additions and 57 deletions

View file

@ -127,7 +127,7 @@ export default {
if (currentIndex) {
promise = Promise.resolve(currentIndex)
} else {
promise = this.$store.dispatch('fetchThemesIndex')
promise = useInterfaceStore().fetchThemesIndex()
}
promise.then(themesIndex => {
@ -493,7 +493,7 @@ export default {
}
},
setCustomTheme () {
this.$store.dispatch('setThemeV2', {
useInterfaceStore().setThemeV2({
customTheme: {
ignore: true,
themeFileVersion: this.selectedVersion,