Skip to content

Commit 70c462d

Browse files
committed
Fix default profile picture in authors list
1 parent cdeb7b5 commit 70c462d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/lib/components/mod-details/ModDetails.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@
284284
<button class="btn w-full h-full space-x-4" on:click={() => $search = `author:"${author.user.username}"`}>
285285
<div class="h-12 w-12">
286286
{#if 'avatar' in author.user}
287-
<img class="rounded-full w-ful h-full" alt="{author.user.username} Avatar" src={author.user.avatar ?? `${$siteURL}/images/no_image.webp`} />
287+
<img class="rounded-full w-ful h-full" alt="{author.user.username} Avatar" src={author.user.avatar ? author.user.avatar : `${$siteURL}/images/no_image.webp`} />
288288
{/if}
289289
</div>
290290
<div class="flex-auto flex flex-col text-left">

0 commit comments

Comments
 (0)