From bd29a665f811350ef9ba18fc7b235b2e9d838e9a Mon Sep 17 00:00:00 2001 From: Adrien Burgun Date: Sun, 3 Jul 2022 13:20:08 +0200 Subject: [PATCH] :bug: Only show shortcuts when user ID isn't 1 --- templates/user/dashboard/navbar.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/user/dashboard/navbar.tmpl b/templates/user/dashboard/navbar.tmpl index 59a86de..1b2bbf5 100644 --- a/templates/user/dashboard/navbar.tmpl +++ b/templates/user/dashboard/navbar.tmpl @@ -74,7 +74,7 @@ {{end}} - {{if not .PageIsAdmin}} + {{if not eq .ContextUser.ID 1}}
Jump to: