forked from external-repos/noisedash
Move dark mode toggle to account page
This commit is contained in:
@@ -38,11 +38,6 @@ export default {
|
||||
.catch(() => {
|
||||
this.isAdmin = false
|
||||
})
|
||||
},
|
||||
toggleDarkMode () {
|
||||
this.$http.patch('/users/dark-mode', {
|
||||
darkMode: this.$vuetify.theme.dark
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user