Im using this block in my html template :
<div *ngIf="visibleblock && !selected?.item?.externalInfo?.length > 0">
But im getting this error when i do:
ng build --prod --aot
Any suggestion how can i fix this ?
Im using this block in my html template :
<div *ngIf="visibleblock && !selected?.item?.externalInfo?.length > 0">
But im getting this error when i do:
ng build --prod --aot
Any suggestion how can i fix this ?
Put the second expression inside parenthesis:
<div *ngIf="visibleblock && !(selected?.item?.externalInfo?.length > 0)">