Skip to content

Commit a04ea05

Browse files
authored
fix: handle instance when switching from profile with avatar to no avatar reset (#998)
1 parent 9783e22 commit a04ea05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/layouts/profile.vue

+2
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,8 @@ export default Vue.extend({
320320
getPhotoFromIPFS(this.visitProfile.avatar).then((p) => {
321321
this.visitAvatar = p
322322
})
323+
} else {
324+
this.visitAvatar = ``
323325
}
324326
this.updateFollowers()
325327
const { followers, following } = await getFollowersAndFollowing(this.$route.params.id)

0 commit comments

Comments
 (0)