The title says it all, so i will show you the code.
TS
notificationsChannels: Observable<{ name: string }[]>;
ngOnInit() {
this.notificationsChannels = this._notificationsManagerService
.getAll(this.endPoint)
.pipe(
map(res =>
res.body.map(config => {
return { name: config['entityName'] };
})
)
);
}
Template
<p-tabView>
<p-tabPanel [header]="channel.name | humanizeText" *ngFor="let channel of (notificationsChannels | async)">
</p-tabPanel>
</p-tabView>
Although the data arrives the template does not reflet it. Maybe im missing something...