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