MOBILE-3320 forum: Fix nested replies not rendered

main
Dani Palou 2021-07-02 15:42:23 +02:00
parent 896c09bc18
commit e0456102ee
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@
(onPostChange)="postListChanged()"> (onPostChange)="postListChanged()">
</addon-mod-forum-post> </addon-mod-forum-post>
</ion-card> </ion-card>
<div class="ion-padding-left" *ngIf="post.children.length && post.children[0].subject"> <div class="ion-padding-left" *ngIf="post.children && post.children.length && post.children[0].subject">
<ng-container *ngFor="let child of post.children"> <ng-container *ngFor="let child of post.children">
<ng-container *ngTemplateOutlet="nestedPosts; context: {post: child}"></ng-container> <ng-container *ngTemplateOutlet="nestedPosts; context: {post: child}"></ng-container>
</ng-container> </ng-container>