From 875a435544f8266c1cfbf72d51ce68c684b53eb7 Mon Sep 17 00:00:00 2001 From: Jemma Poffinbarger Date: Mon, 29 Jul 2024 12:21:09 -0500 Subject: [PATCH] fix: report post button shows up on guest page --- src/webfiles/web/partials/post_template.ejs | 2 +- src/webfiles/web/post.ejs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/webfiles/web/partials/post_template.ejs b/src/webfiles/web/partials/post_template.ejs index 86e5d8f..06835ba 100644 --- a/src/webfiles/web/partials/post_template.ejs +++ b/src/webfiles/web/partials/post_template.ejs @@ -46,7 +46,7 @@ <%}%> -<%if(locals.mainPost && !post.removed) {%> +<%if(locals.mainPost && !post.removed && pid !== 1000000000) {%> <%}%> diff --git a/src/webfiles/web/post.ejs b/src/webfiles/web/post.ejs index ce1fd2f..4f8f926 100644 --- a/src/webfiles/web/post.ejs +++ b/src/webfiles/web/post.ejs @@ -64,6 +64,7 @@ <% }); %> + <% if (pid !== 1000000000) { %> - + <% } %>