Browse Source

another author picture fix

pull/1/head
Rob Colbert 3 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 header.uk-comment-header
div(uk-grid).uk-grid-medium.uk-flex-middle div(uk-grid).uk-grid-medium.uk-flex-middle
.uk-width-auto .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 img(src= `/image/${comment.author.picture.small._id}`).site-profile-picture.sb-small.uk-comment-avatar
else else
img(src="/img/default-member.png").site-profile-picture.sb-small.uk-comment-avatar img(src="/img/default-member.png").site-profile-picture.sb-small.uk-comment-avatar

Loading…
Cancel
Save