From f12198c2b3245188b2e23696de2cfb2d088cc690 Mon Sep 17 00:00:00 2001
From: Henry Jameson <me@hjkos.com>
Date: Wed, 17 Aug 2022 21:13:39 +0300
Subject: fix edit mode checkbox showing up for anon users

---
 src/components/nav_panel/nav_panel.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/nav_panel/nav_panel.vue')

diff --git a/src/components/nav_panel/nav_panel.vue b/src/components/nav_panel/nav_panel.vue
index 01a407c1..e089f0be 100644
--- a/src/components/nav_panel/nav_panel.vue
+++ b/src/components/nav_panel/nav_panel.vue
@@ -95,7 +95,7 @@
           :item="item"
         />
         <div
-          v-if="!forceEditMode"
+          v-if="!forceEditMode && currentUser"
           class="panel-footer"
         >
           <Checkbox v-model="editMode">
-- 
cgit v1.2.3-70-g09d2

