html проверка наблюдаемой.
<!--Answered by Muhammed Albarmavi and Mario Petrovic-->
<ng-container *ngIf="(profiles$ | async) as result">
<div *ngIf="result.length > 0"></div>
</ng-container>
Farwa Miraj