Browse Source

another author picture fix

develop
Rob Colbert 2 years ago
parent
commit
63d96c66c3
  1. 2
      app/views/comment/components/comment-review.pug

2
app/views/comment/components/comment-review.pug

@ -4,7 +4,7 @@ mixin renderCommentReview (comment)
header.uk-comment-header
div(uk-grid).uk-grid-medium.uk-flex-middle
.uk-width-auto
if comment.author.picture.small
if comment.author.picture && comment.author.picture.small
img(src= `/image/${comment.author.picture.small._id}`).site-profile-picture.sb-small.uk-comment-avatar
else
img(src="/img/default-member.png").site-profile-picture.sb-small.uk-comment-avatar

Loading…
Cancel
Save