Bugfix on gallery page

This commit is contained in:
Noah Petherbridge 2024-03-28 23:06:58 -07:00
parent 35258beb36
commit 4f3f6de158

View File

@ -284,7 +284,7 @@
</div>
<!-- If viewing our own profile, and we don't have a profile picture set, offer advice. -->
{{if and (not .IsSiteGallery) (eq .CurrentUser.ProfilePhoto.ID 0)}}
{{if and (not .IsSiteGallery) (eq .CurrentUser.ProfilePhoto.ID 0) (eq .CurrentUser.ID .User.ID)}}
<div class="notification is-success is-light content">
<p>
<i class="fa-regular fa-id-badge mr-1"></i>