diff options
author | FChannel <> | 2022-06-05 11:45:31 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | 0359d9d410b9ab597ed4a067d767ab59472b0c03 (patch) | |
tree | cbc4afced5ec46039055ff37f04390709f1112dd /views/partials/posts.html | |
parent | 5e4f829b9c26e40bc3931226d4fa0872c150e43a (diff) |
pop archived posts
Diffstat (limited to 'views/partials/posts.html')
-rw-r--r-- | views/partials/posts.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/partials/posts.html b/views/partials/posts.html index 14d4878..67f3d27 100644 --- a/views/partials/posts.html +++ b/views/partials/posts.html @@ -64,7 +64,7 @@ {{ if eq $board.ModCred $board.Domain $board.Actor.Id }} [<a href="/delete?id={{ .Id }}&board={{ $board.Actor.Name }}">Delete Post</a>] {{ end }} - {{ if .Attachment }} + {{ if (index .Attachment 0).Id }} {{ if eq $board.ModCred $board.Domain $board.Actor.Id }} [<a href="/banmedia?id={{ .Id }}&board={{ $board.Actor.Name }}">Ban Media</a>] [<a href="/deleteattach?id={{ .Id }}&board={{ $board.Actor.Name }}">Delete Attachment</a>] |