Skip to content

Commit 50b205f

Browse files
authored
Merge pull request #4555 from narekcat/issue-4549
Issue 4549
2 parents a2d866b + 20ddf80 commit 50b205f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/utils/challenge-detail/helper.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export function getDisplayRecommendedChallenges(
208208
let results = _.filter(displayRecommendedChallenges, (c) => {
209209
let isValid = filter(c);
210210
if (isValid && userId) {
211-
isValid = !c.users[userId] && c.id !== challenge.id;
211+
isValid = c.id !== challenge.id && !c.users[userId];
212212
}
213213
return isValid;
214214
});

0 commit comments

Comments
 (0)