Skip to content
Snippets Groups Projects
Commit e4e3a288 authored by Shpuld Shpuldson's avatar Shpuld Shpuldson
Browse files

remove logs/commented code

parent 0de627ba
No related branches found
No related tags found
2 merge requests!1074Update master with 2.0.0,!1049Emoji reactions
Pipeline #22260 passed
This commit is part of merge request !1049. Comments created here will be created in the context of that merge request.
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment