Skip to content

Commit

Permalink
fix user profile default image
Browse files Browse the repository at this point in the history
  • Loading branch information
tanguyenvn committed Feb 18, 2025
1 parent cd63a3b commit 4668bbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/WalletAccount/AccountMenu/AccountMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<v-list-item>
<v-list-item-avatar class="ml-2 mr-3">
<img
:src="userInfo.profileImage"
:src="userInfo.profileImage || '/images/person.jpeg'"
class="align-start"
:alt="userName"
onerror="if (!this.src.includes('/images/person.jpeg')) this.src = '/images/person.jpeg';"
Expand Down
2 changes: 1 addition & 1 deletion src/containers/Popup/PopupWidget/PopupWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</div>
<img
v-else
:src="userInfo.profileImage"
:src="userInfo.profileImage || '/images/person.jpeg'"
:alt="`${userInfo.verifierId} Avatar`"
onerror="if (!this.src.includes('/images/person.jpeg')) this.src = '/images/person.jpeg';"
/>
Expand Down

0 comments on commit 4668bbf

Please sign in to comment.