自分のノートにリアクションを押せるように (#6506)

* resolve #6468

* リモートから来たセルフリアクションの対応
This commit is contained in:
Xeltica
2020-07-30 20:28:35 +09:00
committed by GitHub
parent f5d43b1f25
commit 71878f93e4
5 changed files with 3 additions and 20 deletions

View File

@@ -51,11 +51,8 @@ export default Vue.extend({
};
},
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: {