Fix not showing user information on anonymous posts

This commit is contained in:
video-prize-ranch 2022-02-08 15:39:07 -05:00
parent 11e8a00c1d
commit 9f746c8dbf
No known key found for this signature in database
GPG Key ID: D8EAA4C5B12A7281
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
<p>{{album.CreatedAt}}</p> <p>{{album.CreatedAt}}</p>
<div class="imageMeta__wrapper"> <div class="imageMeta__wrapper">
{{#if album.User}} {{#if album.User.Username}}
<div class="user"> <div class="user">
<a href="/user/{{album.User.Username}}"> <a href="/user/{{album.User.Username}}">
<img src="{{album.User.Avatar}}" class="pfp" width="36" height="36" loading="lazy" /> <img src="{{album.User.Avatar}}" class="pfp" width="36" height="36" loading="lazy" />