From 238a4a7c526853b5276dc2f0237316e47f28302f Mon Sep 17 00:00:00 2001 From: John Watkins <watkinsj18@cardiff.ac.uk> Date: Wed, 8 Dec 2021 17:11:15 +0000 Subject: [PATCH] Allow you to go to settings as a non-shop owner --- src/main/resources/templates/admin.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/templates/admin.html b/src/main/resources/templates/admin.html index 1afe419..f82f93e 100644 --- a/src/main/resources/templates/admin.html +++ b/src/main/resources/templates/admin.html @@ -45,7 +45,7 @@ <p>Shop Rewards</p> </div> </div> - <div class="sidebar closed" id="side_shop_select"> + <div class="sidebar closed" id="side_shop_select" th:if="${highestPerm > 1 || linkedShop}"> <th:block th:each="category: ${adminOfByCategory.entrySet()}"> <div class="shop-tab-container"> <div class="shop-tab shop-category" onclick="this.parentElement.classList.toggle('open')"> -- GitLab