I have the following using Angular 7:
<ul>
<li *ngFor="let status of statuses$ | async" *ngIf="status.name != post.statusName">
{{status.name}}
</li>
</ul>
I get the following error:
Can't have multiple template bindings on one element. Use only one attribute prefixed with *
How can I conditionally render a LI item in a loop?