🐛 (account) fix account being saved on account setting page init
This commit is contained in:
@@ -77,8 +77,8 @@ export default class ColorPicker extends Vue {
|
||||
|
||||
@Watch('localColor')
|
||||
public onColorChange(color: string | null, oldColor: string | null) {
|
||||
this.$emit('input', color)
|
||||
if (oldColor !== color) {
|
||||
if (this.color !== color) {
|
||||
this.$emit('input', color)
|
||||
this.$emit('color-change')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user