Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.

Commit

Permalink
fix: null profile error in followers page
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Sep 7, 2021
1 parent 5f7cce3 commit 1181575
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/Followers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ export default class Followers extends Vue {
if (rss3 && followersList) {
for (const item of followersList) {
const profile = await rss3.profile.get(item);
const profile = (await rss3.profile.get(item)) || {};
this.followerList.push({
avatar: profile.avatar?.[0] || '',
avatar: profile.avatar?.[0] || config.defaultAvatar,
username: profile.name || '',
address: item,
displayAddress: this.filter(item),
Expand Down

0 comments on commit 1181575

Please sign in to comment.