From 0ed4a34c8c601bd5cb16eb806f5689ef53414697 Mon Sep 17 00:00:00 2001 From: Akif9748 Date: Fri, 9 Sep 2022 18:33:22 +0300 Subject: [PATCH] front end fix --- README.md | 1 - views/threads.ejs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index b839995..a75dacc 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,6 @@ Akf-forum has got an API for AJAX (fetch), other clients etc. And, you can learn | IPs of users will add SecretModel | ⚪ | MEDIUM | | Better Auth | ⚪ | MEDIUM | - Fix footer, theme, sonra -- Version info to footer - upload other photos, model for it ## Major Version History diff --git a/views/threads.ejs b/views/threads.ejs index c404433..3c9ae23 100644 --- a/views/threads.ejs +++ b/views/threads.ejs @@ -20,7 +20,7 @@ <%= thread.title %>
- <% if (user && !thread.deleted){ %> + <% if (user?.admin && !thread.deleted){ %> <% } %> <%= thread.author.name %>