aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/profile
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-03-22 09:42:59 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-03-22 09:42:59 +0200
commitc433aa158ed3921f1de2786eff4b5ff86cabcc94 (patch)
treee599a73ffc225f34f99d594700091ab670b14e10 /src/app/components/profile
parentc08d710428ca14b0ebe3d13c16df0aa9b8ba9a93 (diff)
downloadDevHive-Angular-c433aa158ed3921f1de2786eff4b5ff86cabcc94.tar
DevHive-Angular-c433aa158ed3921f1de2786eff4b5ff86cabcc94.tar.gz
DevHive-Angular-c433aa158ed3921f1de2786eff4b5ff86cabcc94.zip
Removed post component index number, since we don't need it anymore
Diffstat (limited to 'src/app/components/profile')
-rw-r--r--src/app/components/profile/profile.component.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/components/profile/profile.component.html b/src/app/components/profile/profile.component.html
index 7ba701d..a6082f3 100644
--- a/src/app/components/profile/profile.component.html
+++ b/src/app/components/profile/profile.component.html
@@ -52,8 +52,8 @@
<div class="text-centered" *ngIf="userPosts.length === 0">
{{ user.firstName }} {{ user.lastName }} hasn't posted anything yet!
</div>
- <div *ngFor="let userPost of userPosts; let i = index">
- <app-post [paramId]="userPost.postId.toString()" [index]="i"></app-post>
+ <div *ngFor="let userPost of userPosts">
+ <app-post [paramId]="userPost.postId.toString()"></app-post>
</div>
</section>
</main>