Fixed global state and scrolltotop
This commit is contained in:
parent
a1ae94792e
commit
ef9f257e23
13 changed files with 34 additions and 50 deletions
|
|
@ -102,9 +102,9 @@ export default {
|
|||
},
|
||||
handleTheme: function() {
|
||||
var isDark = false;
|
||||
if (this.$store.state.globalSettings.appTheme == "dark") {
|
||||
if (this.$store.state.appTheme == "dark") {
|
||||
isDark = true;
|
||||
} else if (this.$store.state.globalSettings.appTheme == "system") {
|
||||
} else if (this.$store.state.appTheme == "system") {
|
||||
if (this.systemDark) {
|
||||
isDark = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue