Fix persisting client changes. Fix persisting team changes. Fix validating vat of 0.

This commit is contained in:
HenriT
2021-02-16 22:09:59 +02:00
parent b291455a05
commit 5cf166ca12
4 changed files with 6 additions and 12 deletions

View File

@ -40,7 +40,6 @@ export default {
} else if (window.matchMedia('(prefers-color-scheme: dark)').matches) {
// OS theme setting detected as dark
this.$store.commit('themes/theme', 'dark');
console.log('hello there');
return document.documentElement.setAttribute('data-theme', 'dark');
}
document.documentElement.setAttribute('data-theme', this.theme || 'light');