Fix accent color picker

This commit is contained in:
Kay Thomas
2022-07-05 15:32:43 -07:00
parent d3cc1db2f9
commit 9b2bdaf159
3 changed files with 7 additions and 7 deletions

View File

@@ -6,7 +6,7 @@ export default {
changePasswordDialog: false,
isPasswordValid: false,
password: '',
accentColor: '#607d8b',
accentColor: {},
snackbar: false,
snackbarText: '',
rules: {
@@ -53,8 +53,8 @@ export default {
this.$http.patch('/users/preferences', {
preferences: preferences
})
this.$vuetify.theme.themes.dark.primary = this.accentColor
this.$vuetify.theme.themes.light.primary = this.accentColor
this.$vuetify.theme.themes.dark.primary = this.accentColor.hex
this.$vuetify.theme.themes.light.primary = this.accentColor.hex
}
}
}