We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50912f4 commit 33f5a6cCopy full SHA for 33f5a6c
src/Dashboard.tsx
@@ -35,7 +35,7 @@ function Dashboard() {
35
for (const up of userProgress) {
36
if (!progress.has(up.exercise_name)) {
37
progress.set(up.exercise_name, up.status)
38
- } else if (progress.get(up.exercise_name) !== "SUCCESSFUL" && up.status === "SUCCESSFUL") {
+ } else if ((progress.get(up.exercise_name) !== "SUCCESSFUL" || progress.get(up.exercise_name) !== "Completed") && (up.status === "SUCCESSFUL" || up.status === "Completed")) {
39
// Take any success
40
41
}
0 commit comments