Browse Source

add check to make sure image has an owner before rendering the owner

develop
Rob Colbert 2 years ago
parent
commit
3811fbfb83
  1. 1
      app/views/admin/image/index.pug

1
app/views/admin/image/index.pug

@ -33,6 +33,7 @@ block content
span
i.fas.fa-trash
span.uk-margin-small-left Delete image
if image.owner
li
a(href=`/admin/image/${image._id}/archive-user`).uk-text-truncate
span

Loading…
Cancel
Save