Skip to content

Commit

Permalink
fix survey forms showing email template
Browse files Browse the repository at this point in the history
  • Loading branch information
guiann authored and gborgonia-ir committed Mar 26, 2024
1 parent e1f09c7 commit 463aa53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/survey-forms/survey-forms-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const SurveyFormsList = () => {
<Spinner />
</div>
)}
{loading === Loading.Pending && (
{loading === Loading.Fulfilled && user_survey_administrations?.length === 0 && (
<p className='whitespace-pre-wrap'>{emailTemplate?.content}</p>
)}
{
Expand Down

0 comments on commit 463aa53

Please sign in to comment.