Skip to content

Commit

Permalink
show zero when no responses
Browse files Browse the repository at this point in the history
  • Loading branch information
jurajmajerik committed Sep 27, 2023
1 parent c5f6832 commit d9c01d6
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 d9c01d6

Please sign in to comment.