We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef6fe65 commit ded6bbeCopy full SHA for ded6bbe
angular-primeng-app/src/app/components/post-details/post-details.component.html
@@ -13,7 +13,7 @@ <h1 class="title">{{ post.title }}</h1>
13
}
14
</p-avatarGroup>
15
} @else {
16
- <img class="author-image" [src]="post.author.profilePicture" alt="{{ post.author.name}}">
+ <p-avatar [image]="coAuthor.profilePicture" size="large" shape="circle" title="{{ coAuthor.username}}"></p-avatar>
17
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>
0 commit comments