frontend: changed thumbnail to profile picture

This commit is contained in:
Alex
2024-09-29 21:22:23 +02:00
parent dbf7aca078
commit db84918cb1
3 changed files with 18 additions and 13 deletions

View File

@@ -46,8 +46,8 @@
<div class="header-nav-item">
<a href="/auth/about/{$page.data.user.id}">
<img
src={$page.data.user.thumbnail
? $page.data.user.thumbnail
src={$page.data.user.profile_picture
? $page.data.user.profile_picture
: Avatar}
alt={`${$page.data.user.first_name} ${$page.data.user.last_name}`}
/>