fix: admin rendering UI + dark mode

This commit is contained in:
Nick committed 2019-08-04 23:53:21 -04:00
1 parent 0f9ddf1e5d
commit c4629419d3
35 files changed
+232 -198

No files matched your search

+6
View File
@@ -167,11 +167,17 @@ export default {
]
}
},
watch: {
'darkMode' (newValue, oldValue) {
this.$vuetify.theme.dark = newValue
}
},
mounted() {
this.darkModeInitial = this.darkMode
},
beforeDestroy() {
this.darkMode = this.darkModeInitial
this.$vuetify.theme.dark = this.darkModeInitial
},
methods: {
async save () {