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">
<img
v-if="avatars[identity] !== 'undefined'"
v-if="identity && avatars[identity] !== 'undefined'"
v-lazy="logo(identity)"
class="object-contain"
@error="
(e) => {
if (identity) {
loadAvatar();
}
}
"
/>
<Icon
v-else
class="text-4xl"
class="text-8xl"
:icon="`mdi-help-circle-outline`"
/>
</div>

View File

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