Merge branch 'develop' into vue3

This commit is contained in:
syuilo
2020-07-31 21:27:20 +09:00
19 changed files with 335 additions and 51 deletions

View File

@@ -51,11 +51,8 @@ export default defineComponent({
};
},
computed: {
isMe(): boolean {
return this.$store.getters.isSignedIn && this.$store.state.i.id === this.note.userId;
},
canToggle(): boolean {
return !this.reaction.match(/@\w/) && !this.isMe && this.$store.getters.isSignedIn;
return !this.reaction.match(/@\w/) && this.$store.getters.isSignedIn;
},
},
watch: {