Skip to content

Commit

Permalink
fixup! fixup! Reaction store fixes to reduce fetching of details
Browse files Browse the repository at this point in the history
  • Loading branch information
DorraJaouad committed Dec 29, 2023
1 parent 3ff3eae commit 426278c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@ export default {
},

reactionsCount(reaction) {
return this.detailedReactions ? this.detailedReactions[reaction]?.length
return this.detailedReactions
? this.detailedReactions[reaction]?.length
: this.plainReactions[reaction]
},

Expand Down

0 comments on commit 426278c

Please sign in to comment.