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

Add guard to avoid type errors due to null validation sources #7500

Merged
merged 2 commits into from
Mar 22, 2023

Conversation

thelovekesh
Copy link
Collaborator

@thelovekesh thelovekesh commented Mar 22, 2023

Summary

Previously discovered in #7380 there were some type errors due to null validation sources in SiteScan. This PR aims to fix the same issue in the <SiteScanSourcesDetail /> component.

Screencast
bbd99734927244e48bced2799736df7a-1679500487677.mp4

Checklist

  • My code is tested and passes existing tests.
  • My code follows the Engineering Guidelines (updates are often made to the guidelines, check it out periodically).

@thelovekesh thelovekesh requested a review from westonruter March 22, 2023 15:46
@github-actions
Copy link
Contributor

github-actions bot commented Mar 22, 2023

Plugin builds for 325d8f6 are ready 🛎️!

Co-authored-by: Weston Ruter <westonruter@google.com>
@westonruter westonruter added this to the v2.4.1 milestone Mar 22, 2023
@westonruter westonruter merged commit 04c371a into develop Mar 22, 2023
@westonruter westonruter deleted the fix/null-site-scan-source branch March 22, 2023 17:44
@thelovekesh
Copy link
Collaborator Author

QA Passed ✅

Before, clicking on the site scan details would crash the AMP Settings screen. After applying this update, site scan details are displayed as intended and are not resulting in any fatal or console errors.

image

@westonruter westonruter added the Changelogged Whether the issue/PR has been added to release notes. label Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelogged Whether the issue/PR has been added to release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants