From 0359d9d410b9ab597ed4a067d767ab59472b0c03 Mon Sep 17 00:00:00 2001
From: FChannel <>
Date: Sun, 5 Jun 2022 11:45:31 -0700
Subject: pop archived posts
---
views/partials/posts.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'views')
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 }}
[Delete Post]
{{ end }}
- {{ if .Attachment }}
+ {{ if (index .Attachment 0).Id }}
{{ if eq $board.ModCred $board.Domain $board.Actor.Id }}
[Ban Media]
[Delete Attachment]
--
cgit v1.2.3