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 error when expression point on sub-property of an undefined object #87

Merged
merged 1 commit into from
Sep 5, 2019

Conversation

Thorolf13
Copy link
Contributor

avoid error "Cannot use 'in' operator to search for 'property' in undefined"

test case :

const list = [{a:{b:1}},   {a:{b:2}},   {a:undefined}];
<div *ngFor="let item of list | orderBy:'a.b'">
</div>

avoid error "Cannot use 'in' operator to search for 'property' in undefined"
@VadimDez VadimDez merged commit a568a35 into VadimDez:master Sep 5, 2019
@VadimDez VadimDez added this to the 2.0.4 milestone Sep 9, 2019
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.

None yet

2 participants