Skip to content

#38565 Avoid crash of min-height converter when a mobile value is defined but key does not exist #896

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

bhennesAdv
Copy link

@see magento/magento2#38565 for issue description

I'm not doing typescript at all, so I just ported the same correction as it would probably not crash.
Maybe the template function get() automatically casts the returned value to string to it might be overkill.

I let typescript experts judge on this.

… not undefined to avoid split to crash if the key does not exist.
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