Skip to content

Commit

Permalink
Fix default profile picture in authors list
Browse files Browse the repository at this point in the history
  • Loading branch information
mircearoata committed Oct 9, 2024
1 parent cdeb7b5 commit 70c462d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/components/mod-details/ModDetails.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
<button class="btn w-full h-full space-x-4" on:click={() => $search = `author:"${author.user.username}"`}>
<div class="h-12 w-12">
{#if 'avatar' in author.user}
<img class="rounded-full w-ful h-full" alt="{author.user.username} Avatar" src={author.user.avatar ?? `${$siteURL}/images/no_image.webp`} />
<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`} />
{/if}
</div>
<div class="flex-auto flex flex-col text-left">
Expand Down

0 comments on commit 70c462d

Please sign in to comment.