I re-deployed this demo with the fix. Loading that page from the link should successfully show the image, and also navigating away through the "See other releases" link and then back using the "Release 11.0" link should show the image too. Without this fix, it would have failed to load the image in that second scenario, which was the opposite of what it was before the first fix.
Checklist
[x] Prefixed the PR title with the Jira ticket number as [WNMGDS-####] Title or [NO-TICKET] if this is unticketed work.
[x] Selected appropriate Type (only one) label for this PR, if it is a breaking change, label should only be Type: Breaking
[x] Selected appropriate Impacts, multiple can be selected.
Summary
This is a follow-up to https://github.com/CMSgov/design-system/pull/3176, where I attempted to fix a bug and caused its equal and opposite bug. See added code comments for details.
How to test
I re-deployed this demo with the fix. Loading that page from the link should successfully show the image, and also navigating away through the "See other releases" link and then back using the "Release 11.0" link should show the image too. Without this fix, it would have failed to load the image in that second scenario, which was the opposite of what it was before the first fix.
Checklist
[WNMGDS-####] Title
or [NO-TICKET] if this is unticketed work.Type
(only one) label for this PR, if it is a breaking change, label should only beType: Breaking
Impacts
, multiple can be selected.