Skip to content

Commit

Permalink
Update profile.component.html
Browse files Browse the repository at this point in the history
  • Loading branch information
miladsoft committed Sep 16, 2024
1 parent 1b7bcb5 commit 6a86d62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/profile/profile.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<div>
<img
class="h-40 object-cover lg:h-80"
[src]="metadata?.banner" onerror="this.onerror=null; this.src='/images/pages/profile/cover.jpg';" alt="{{metadata?.display_name || metadata?.name || 'Banner'}}"
[src]="metadata?.banner || '/images/pages/profile/cover.jpg'" onerror="this.onerror=null; this.src='/images/pages/profile/cover.jpg';" alt="{{metadata?.display_name || metadata?.name || 'Banner'}}"

/>
</div>

Expand Down

0 comments on commit 6a86d62

Please sign in to comment.