Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotfix: null answer in requirement assessment #848

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

Mohamed-Hacene
Copy link
Collaborator

No description provided.

@@ -240,7 +240,7 @@
</div>
</div>
{/if}
{#if Object.keys(requirementAssessment.answer).length !== 0}
{#if requirementAssessment.answer != null && Object.keys(requirementAssessment.answer).length !== 0}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should do null checks using triple equals !==

Copy link
Contributor

@nas-tabchiche nas-tabchiche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's merge this now to fix the most urgent issue.

@nas-tabchiche nas-tabchiche merged commit 3845808 into main Sep 19, 2024
12 checks passed
@nas-tabchiche nas-tabchiche deleted the hotfix/null-answer-in-requirement-assessment branch September 19, 2024 11:06
@github-actions github-actions bot locked and limited conversation to collaborators Sep 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants