From d69ba24849f7ed18c6f95369a8ec4552d8ef2a19 Mon Sep 17 00:00:00 2001
From: Florian Dold <florian@dold.me>
Date: Fri, 5 Nov 2021 18:56:48 +0100
Subject: anastasis-webui: don't show JSON when challenge is solved

---
 packages/anastasis-webui/src/pages/home/ChallengeOverviewScreen.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'packages/anastasis-webui/src/pages/home/ChallengeOverviewScreen.tsx')

diff --git a/packages/anastasis-webui/src/pages/home/ChallengeOverviewScreen.tsx b/packages/anastasis-webui/src/pages/home/ChallengeOverviewScreen.tsx
index 598999f2e..ae03dd4d4 100644
--- a/packages/anastasis-webui/src/pages/home/ChallengeOverviewScreen.tsx
+++ b/packages/anastasis-webui/src/pages/home/ChallengeOverviewScreen.tsx
@@ -17,6 +17,7 @@ function OverviewFeedbackDisplay(props: { feedback?: ChallengeFeedback }) {
     case ChallengeFeedbackStatus.Solved:
       return <div />
     case ChallengeFeedbackStatus.Pending:
+    case ChallengeFeedbackStatus.Solved:
     case ChallengeFeedbackStatus.AuthIban:
       return null;
     case ChallengeFeedbackStatus.ServerFailure:
-- 
cgit v1.2.3

