diff --git a/src/GZCTF/ClientApp/src/components/ChallengePanel.tsx b/src/GZCTF/ClientApp/src/components/ChallengePanel.tsx index 693f34c0..ff8892de 100644 --- a/src/GZCTF/ClientApp/src/components/ChallengePanel.tsx +++ b/src/GZCTF/ClientApp/src/components/ChallengePanel.tsx @@ -213,14 +213,14 @@ const ChallengePanel: FC = () => { - - {currentChallenges && currentChallenges.length ? ( + {currentChallenges && currentChallenges.length ? ( + { /> ))} - ) : ( -
- - {t('game.content.all_solved.title')} - {t('game.content.all_solved.comment')} - -
- )} -
+
+ ) : ( +
+ + {t('game.content.all_solved.title')} + {t('game.content.all_solved.comment')} + +
+ )} {game?.writeupRequired && ( = ({ game, ...others }) => { > - +
{!poster && }
diff --git a/src/GZCTF/ClientApp/src/locales/en_US/game.json b/src/GZCTF/ClientApp/src/locales/en_US/game.json index 368bd613..c07330d1 100644 --- a/src/GZCTF/ClientApp/src/locales/en_US/game.json +++ b/src/GZCTF/ClientApp/src/locales/en_US/game.json @@ -129,7 +129,7 @@ }, "notice_type": { "all": "All", - "challenge": "Challenge", + "challenge": "Challenges", "events": "News", "game": "Notice" },