I have:
<mat-toolbar-row *ngFor="let idp of Idps | async; last as isLast">
and I need to access the length of it for these:
<button [disabled]="(Idps| async)?.length===1" [ngClass]="{'disabledBtn': !(Idps | async)?.length > 1}"
this sadly does not work, I managed to make that syntax work only here:
{{ (Idps | async)?.length }}
if I put this in my HTML, it will show on screen the length, but I cannot find the right syntax to use for my [disabled] and [ngClass] tags