-
Notifications
You must be signed in to change notification settings - Fork 73
#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
base: develop
Are you sure you want to change the base?
Conversation
… not undefined to avoid split to crash if the key does not exist.
@magento run all tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@magento run all tests |
Hello @bhennesAdv, It seems you are still working on it, hence moving this PR Thanks |
Hello @engcom-Hotel I would say that everything is finished as static tests are now OK (It was the only issue when I looked at it). I'll let you know if all tests passed or I'll check it if there is some issues. |
@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.