Skip to content

Commit

Permalink
fix(surveys): show zeros for surveys with no responses (#17648)
Browse files Browse the repository at this point in the history
  • Loading branch information
jurajmajerik authored Sep 27, 2023
1 parent c5f6832 commit 4f409b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/scenes/surveys/Surveys.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export function Surveys(): JSX.Element {
{surveysResponsesCountLoading ? (
<Spinner />
) : (
<div>{surveysResponsesCount[survey.id]}</div>
<div>{surveysResponsesCount[survey.id] ?? 0}</div>
)}
</>
)
Expand Down

0 comments on commit 4f409b1

Please sign in to comment.