remove logs/commented code
This commit is contained in:
parent
0de627baae
commit
e4e3a28838
@ -4,16 +4,13 @@ const EmojiReactions = {
|
||||
props: ['status'],
|
||||
computed: {
|
||||
emojiReactions () {
|
||||
console.log(this.status.emoji_reactions)
|
||||
return this.status.emoji_reactions
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
reactedWith (emoji) {
|
||||
// return []
|
||||
const user = this.$store.state.users.currentUser
|
||||
const reaction = this.status.emoji_reactions.find(r => r.emoji === emoji)
|
||||
console.log(reaction)
|
||||
return reaction.accounts && reaction.accounts.find(u => u.id === user.id)
|
||||
},
|
||||
reactWith (emoji) {
|
||||
|
Loading…
Reference in New Issue
Block a user