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: Avoid image requests for undefined.ico platform icon #1239

Merged
merged 1 commit into from
Oct 12, 2024

Conversation

adamantike
Copy link
Collaborator

@adamantike adamantike commented Oct 12, 2024

When a platform slug is not present in PLATFORMS_VERSIONS, which is the common case overall, the component was trying to fetch an undefined.ico image.

Instead of that, we should check if the platform slug is present in PLATFORMS_VERSIONS and if not, fallback to the platform slug itself.

when a platform slog is not present in `PLATFORMS_VERSIONS`, which is
the common case overall, the component was trying to fetch an
`undefined.ico` image.

Instead of that, we should check if the platform slug is present in
`PLATFORMS_VERSIONS` and if not, fallback to the platform slug itself.
@adamantike adamantike merged commit d35f772 into master Oct 12, 2024
7 checks passed
@adamantike adamantike deleted the fix/avoid-image-requests-to-undefined.ico branch October 12, 2024 16:34
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