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>
1313 }
1414 </ p-avatarGroup >
1515 } @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 >
1717 }
1818 < 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 >
2020 < div class ="post-meta ">
2121 < p-tag value ="{{post.publishedAt | date: 'MMM dd, yyyy' }} "> < i
2222 class ="tag-icon pi pi-calendar "> </ i > </ p-tag >
You can’t perform that action at this time.
0 commit comments