Fixed no avatar bug and styling of question mark fixed.

This commit is contained in:
zenodeapp 2023-12-01 15:03:53 +01:00
parent 727979bf20
commit 5737bc6a33
2 changed files with 4 additions and 6 deletions

View File

@ -203,20 +203,18 @@ function pageload(p: number) {
<div class="w-24 rounded-lg absolute opacity-10"></div> <div class="w-24 rounded-lg absolute opacity-10"></div>
<div class="w-24 rounded-lg"> <div class="w-24 rounded-lg">
<img <img
v-if="avatars[identity] !== 'undefined'" v-if="identity && avatars[identity] !== 'undefined'"
v-lazy="logo(identity)" v-lazy="logo(identity)"
class="object-contain" class="object-contain"
@error=" @error="
(e) => { (e) => {
if (identity) { loadAvatar();
loadAvatar();
}
} }
" "
/> />
<Icon <Icon
v-else v-else
class="text-4xl" class="text-8xl"
:icon="`mdi-help-circle-outline`" :icon="`mdi-help-circle-outline`"
/> />
</div> </div>

View File

@ -346,7 +346,7 @@ loadAvatars();
/> />
<Icon <Icon
v-else v-else
class="text-4xl" class="text-3xl"
:icon="`mdi-help-circle-outline`" :icon="`mdi-help-circle-outline`"
/> />