Closed Thorolf13 closed 4 years ago
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"
test case :