mirror of
https://github.com/kaythomas0/noisedash.git
synced 2025-11-14 04:14:02 +00:00
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