parent
f5d43b1f25
commit
71878f93e4
5 changed files with 3 additions and 20 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue