From 4f409b18d7dfe355007733bbc36984a00d20d0c5 Mon Sep 17 00:00:00 2001 From: Juraj Majerik Date: Wed, 27 Sep 2023 16:09:21 +0200 Subject: [PATCH] fix(surveys): show zeros for surveys with no responses (#17648) --- frontend/src/scenes/surveys/Surveys.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/scenes/surveys/Surveys.tsx b/frontend/src/scenes/surveys/Surveys.tsx index b9b2e2128ba2b..de69d4c030811 100644 --- a/frontend/src/scenes/surveys/Surveys.tsx +++ b/frontend/src/scenes/surveys/Surveys.tsx @@ -153,7 +153,7 @@ export function Surveys(): JSX.Element { {surveysResponsesCountLoading ? ( ) : ( -
{surveysResponsesCount[survey.id]}
+
{surveysResponsesCount[survey.id] ?? 0}
)} )