From 60f82a5157ab52f98fbe18d02ef4bc808c119e05 Mon Sep 17 00:00:00 2001 From: nick-delirium Date: Mon, 4 Dec 2023 16:57:29 +0100 Subject: [PATCH] fix(ui): calculate skipped tasks manually --- frontend/app/components/UsabilityTesting/TestOverview.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/app/components/UsabilityTesting/TestOverview.tsx b/frontend/app/components/UsabilityTesting/TestOverview.tsx index 5fbbeca30..6aa17dc00 100644 --- a/frontend/app/components/UsabilityTesting/TestOverview.tsx +++ b/frontend/app/components/UsabilityTesting/TestOverview.tsx @@ -259,6 +259,7 @@ const ParticipantOverview = observer(() => { const TaskSummary = observer(() => { const { uxtestingStore } = useStore(); + const totalAttempts = uxtestingStore.testStats?.tests_attempts ?? 0 return (
@@ -283,7 +284,7 @@ const TaskSummary = observer(() => {
{!uxtestingStore.taskStats.length ? : null} {uxtestingStore.taskStats.map((tst, index) => ( - + ))}
);