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

Provide image fallback if image is unavailable #427

Merged
merged 1 commit into from
Feb 4, 2021

Conversation

robbevp
Copy link
Member

@robbevp robbevp commented Jan 25, 2021

Description

re #416
If the API is unavailable (or returns an error of any kind) we should fall back the icon or not try to display the image.

The user is not notified of this error - since they probably will not care.
When the component is destroyed and recreated the imageUnavailable prop will be reset and the front-end will try to get the image again

@robbevp robbevp added the bug Something isn't working label Jan 25, 2021
@robbevp robbevp added this to the 1.0 milestone Jan 25, 2021
@robbevp robbevp requested a review from chvp January 25, 2021 18:13
@robbevp robbevp self-assigned this Jan 25, 2021
@chvp chvp merged commit bc26fc4 into develop Feb 4, 2021
@chvp chvp deleted the fix/provide-image-fallback branch February 4, 2021 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants