File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
angular-primeng-app/src/app/components/post-details Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ <h1 class="title">{{ post.title }}</h1>
13
13
}
14
14
</ p-avatarGroup >
15
15
} @else {
16
- < p-avatar [image] ="coAuthor. profilePicture " size ="large " shape ="circle " title ="{{ coAuthor.username }} "> </ p-avatar >
16
+ < p-avatar [image] ="post.author. profilePicture " size ="large " shape ="circle " title ="{{ post.author.name }} "> </ p-avatar >
17
17
}
18
18
< div class ="author-text ">
19
- < span class ="author-name "> {{post.author.name}} {{isTeam && post.coAuthors.length > 0 ? 'with ' +post.coAuthors.length + ' co-author' + (post.coAuthors.length > 1 ? 's' : '') : ''}}</ span >
19
+ < span class ="author-name "> {{post.author.name}} {{isTeam && post.coAuthors.length > 0 ? 'with ' + post.coAuthors.length + ' co-author' + (post.coAuthors.length > 1 ? 's' : '') : ''}}</ span >
20
20
< div class ="post-meta ">
21
21
< p-tag value ="{{post.publishedAt | date: 'MMM dd, yyyy' }} "> < i
22
22
class ="tag-icon pi pi-calendar "> </ i > </ p-tag >
You can’t perform that action at this time.
0 commit comments