refactor(client): Reorder property

This commit is contained in:
syuilo 2020-05-06 09:40:49 +09:00
parent 729116c9e5
commit b77788b947

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 });