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

fix: edge case where no problem detected should be shown #42

Merged
merged 3 commits into from
Apr 1, 2024

Conversation

yaslam-dev
Copy link
Collaborator

@yaslam-dev yaslam-dev commented Apr 1, 2024

Description

Fix the edge case where if the server sends no problems, so do not show "No Problems detected"

After the fix

Whenever the server has an empty problems response, we do show "No Problem detected" in the UI

Tests

Test cases are updated to expect "No Problem detected" text whenever the prop isEmptyIdentifiedProblemDetected is true.

@yaslam-dev yaslam-dev requested a review from AviGopal April 1, 2024 21:55
@AviGopal AviGopal merged commit fcee31b into main Apr 1, 2024
2 checks passed
@yaslam-dev yaslam-dev deleted the edge-case-empty-identified-problems branch May 25, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants