Allow creators to Creator-Like on top of basic reactions
1456
This commit is contained in:
parent
99383272a8
commit
b4a76f4169
1 changed files with 2 additions and 1 deletions
|
@ -460,7 +460,8 @@ async function getReactedChannelNames(commentId: string, myChannelClaims: ?Array
|
||||||
for (let i = 0; i < reactions.length; ++i) {
|
for (let i = 0; i < reactions.length; ++i) {
|
||||||
const r = reactions[i];
|
const r = reactions[i];
|
||||||
const myReactions = r.myReactions[commentId];
|
const myReactions = r.myReactions[commentId];
|
||||||
const myReactionValues = Object.values(myReactions);
|
const { creator_like, creators_like, ...basicReactions } = myReactions;
|
||||||
|
const myReactionValues = Object.values(basicReactions);
|
||||||
|
|
||||||
if (myReactionValues.includes(1)) {
|
if (myReactionValues.includes(1)) {
|
||||||
reactedChannelNames.push(r.channelName);
|
reactedChannelNames.push(r.channelName);
|
||||||
|
|
Loading…
Reference in a new issue