I have a simple array, with 6 objects in it. http://prntscr.com/jwp54d
I do a simple *ngFor=""
that should and does show me 6 lines.
<ng-container *ngFor="let rec of deal.recycles">
<div *ngIf="checkReasonFilter(rec)" class="row" routerLink="/company" [queryParams]="{id: deal.withCompany}" fragment="recycled" >
I have added a counter to my checkReasonFilter(rec)
function, and on load it is called 672 times!
How, why? Anyone has any clue?
The function is called only once, here!
Thanks!