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

Null check store logo #31

Open
wants to merge 1 commit into
base: v1/dev
Choose a base branch
from

Conversation

callumbwhyte
Copy link

Fixing a small issue reported by a client with Vendr Checkout.

In the Vendr Checkout settings when no store logo is selected, or if the media item is deleted, the Checkout pages throw an error.

This PR adds some better defensive code around the store logo in the VendrCheckoutMaster view. Unfortunately in V8 HasValue can't be trusted!

I appreciate this PR is targeted to Vendr Checkout V1, simply because this is what affects our client. It should be easy to merge these changes up to Vendr Checkout V2 also!

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.

1 participant