Skip to content

Commit 12b4b31

Browse files
authored
Merge pull request #4574 from nursoltan-s/hotfix-4564
hotfix: issue 4564
2 parents 869fd7e + 84a6920 commit 12b4b31

File tree

1 file changed

+1
-1
lines changed
  • src/shared/components/challenge-listing/ChallengeCard/NumSubmissions

1 file changed

+1
-1
lines changed

src/shared/components/challenge-listing/ChallengeCard/NumSubmissions/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default function NumSubmissions({
5050
>
5151
<Link
5252
onClick={() => (
53-
selectChallengeDetailsTab(numOfSub
53+
selectChallengeDetailsTab((numOfSub && isLoggedIn)
5454
? DETAIL_TABS.SUBMISSIONS : DETAIL_TABS.DETAILS)
5555
)}
5656
styleName="link"

0 commit comments

Comments
 (0)