commit: f12198c2b3245188b2e23696de2cfb2d088cc690
parent faefd05c03d20a892a47c27550fe6e23978993c7
Author: Henry Jameson <me@hjkos.com>
Date: Wed, 17 Aug 2022 21:13:39 +0300
fix edit mode checkbox showing up for anon users
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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">