fixes for missing/incorrect avatar fallbacks

This commit is contained in:
Henry Jameson 2026-05-07 16:25:32 +03:00
commit 3d84c6eea1
3 changed files with 6 additions and 6 deletions

View file

@ -12,7 +12,7 @@ function showWhoToFollow(panel, reply) {
panel.usersToFollow.forEach((toFollow, index) => {
const user = shuffled[index]
const img = user.avatar || useInstanceStore().defaultAvatar
const img = user.avatar || useInstanceStore().instanceIdentity.defaultAvatar
const name = user.acct
toFollow.img = img
@ -71,7 +71,7 @@ const WhoToFollowPanel = {
},
mounted: function () {
this.usersToFollow = new Array(3).fill().map(() => ({
img: useInstanceStore().defaultAvatar,
img: useInstanceStore().instanceIdentity.defaultAvatar,
name: '',
id: 0,
}))