From d9c01d663c5287f03c75aaa29c5a98d517b1964b Mon Sep 17 00:00:00 2001 From: Juraj Majerik Date: Wed, 27 Sep 2023 15:40:46 +0200 Subject: [PATCH] show zero when no responses --- 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}
)} )