Commit 0d5fd361 authored by Mark Harding's avatar Mark Harding

(fix): newsfeeds exploding when hitting bad entries

No related merge requests found
Pipeline #72450718 passed with stages
in 28 minutes and 10 seconds
......@@ -8,7 +8,7 @@
<m-newsfeed--boost-rotator interval="4" *ngIf="showBoostRotator"></m-newsfeed--boost-rotator>
<ng-container *ngFor="let activity of (feedsService.feed | async); let i = index">
<ng-container *ngFor="let activity$ of (feedsService.feed | async); let i = index">
<ng-container *mIfFeature="'es-feeds'">
<m-featured-content
*ngIf="(i > 0 && (i % 8) === 0 && i <= 40) || i === 2"
......@@ -17,8 +17,9 @@
</ng-container>
<minds-activity
*ngIf="(activity$ | async) as activity"
class="mdl-card m-border item"
[object]="activity | async"
[object]="activity"
[boostToggle]="activity.boostToggle"
(delete)="delete(activity)"
[showRatingToggle]="true"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment