Skip to content
Commits on Source (2)
......@@ -4,7 +4,7 @@
<m-onboarding-feed *ngIf="session.isLoggedIn() && session.getLoggedInUser().guid == user.guid"></m-onboarding-feed>
<m-newsfeed--boost-rotator [channel]="user" interval="12" *ngIf="user.guid !== session.getLoggedInUser().guid && user.show_boosts"></m-newsfeed--boost-rotator>
<minds-activity *ngFor="let activity of pinned; let i = index" [object]="activity" [boostToggle]="activity.boostToggle" class="mdl-card m-border item" (delete)="delete(activity)" [slot]="i + 1"></minds-activity>
<minds-activity *ngFor="let activity of feed; let i = index" [object]="activity" [boostToggle]="activity.boostToggle" class="mdl-card m-border item" (delete)="delete(activity)" [slot]="i + pinned.length + 1"></minds-activity>
<minds-activity *ngFor="let activity of feed; let i = index" [object]="activity" [boostToggle]="activity.boostToggle" class="mdl-card m-border item" (delete)="delete(activity)" [slot]="i + (pinned?.length || 0) + 1"></minds-activity>
<infinite-scroll
distance="25%"
(load)="loadFeed()"
......
......@@ -41,7 +41,7 @@
[object]="a"
[canDelete]="group['is:owner'] || group['is:moderator']"
(delete)="delete(a)"
[slot]="i + pinned.length + 1"
[slot]="i + (pinned?.length || 0) + 1"
>
<!-- Menu Actions -->
<li post-menu
......