mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-13 13:37:31 -07:00
refactor(client): Reorder property
This commit is contained in:
parent
3c581e5b09
commit
d9d04de4e1
1 changed files with 6 additions and 6 deletions
|
@ -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 });
|
||||||
|
|
Loading…
Reference in a new issue