refactor(client): Reorder property

This commit is contained in:
syuilo 2020-05-06 09:40:49 +09:00
parent 3c581e5b09
commit d9d04de4e1

View File

@ -41,18 +41,18 @@ export default Vue.extend({
} }
}, },
watch: {
reactions() {
this.changed = true;
}
},
computed: { computed: {
splited(): any { splited(): any {
return this.reactions.match(emojiRegexWithCustom); return this.reactions.match(emojiRegexWithCustom);
}, },
}, },
watch: {
reactions() {
this.changed = true;
}
},
methods: { methods: {
save() { save() {
this.$store.dispatch('settings/set', { key: 'reactions', value: this.splited }); this.$store.dispatch('settings/set', { key: 'reactions', value: this.splited });