diff options
| author | Danail Dimitrov <danaildimitrov321@gmail.com> | 2021-03-14 21:48:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-14 21:48:04 +0200 |
| commit | 8bd52ec0e9a58405376b0a9ac08ce8e35bad8599 (patch) | |
| tree | 2b836291af4bc6801d7d809c828eb3e7d58a027a /src/app/components/profile | |
| parent | 988c09b9233fd356b056b62593494772a2061993 (diff) | |
| parent | e4fc300d2fe82084c67c50258c76b60248850863 (diff) | |
| download | DevHive-Angular-8bd52ec0e9a58405376b0a9ac08ce8e35bad8599.tar DevHive-Angular-8bd52ec0e9a58405376b0a9ac08ce8e35bad8599.tar.gz DevHive-Angular-8bd52ec0e9a58405376b0a9ac08ce8e35bad8599.zip | |
Merge pull request #2 from Team-Kaleidoscope/rating_system
Rating system
Diffstat (limited to 'src/app/components/profile')
| -rw-r--r-- | src/app/components/profile/profile.component.html | 4 |
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 0e5f633..5c21cee 100644 --- a/src/app/components/profile/profile.component.html +++ b/src/app/components/profile/profile.component.html @@ -52,8 +52,8 @@ <div id="no-posts" *ngIf="userPosts.length === 0"> {{ user.firstName }} {{ user.lastName }} hasn't posted anything yet! </div> - <div *ngFor="let userPost of userPosts"> - <app-post [paramId]="userPost.postId.toString()"></app-post> + <div *ngFor="let userPost of userPosts; let i = index"> + <app-post [paramId]="userPost.postId.toString()" [index]="i"></app-post> </div> </div> </div> |
