From c47a0d75c230dd6954ec911345a1baeae4885156 Mon Sep 17 00:00:00 2001 From: Jaimyn Mayer Date: Sun, 28 Jan 2024 15:57:02 +1000 Subject: [PATCH] fix admin check display bug --- src-frontend/src/layouts/MainLayout.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src-frontend/src/layouts/MainLayout.vue b/src-frontend/src/layouts/MainLayout.vue index 49b51885..e6c81f95 100644 --- a/src-frontend/src/layouts/MainLayout.vue +++ b/src-frontend/src/layouts/MainLayout.vue @@ -211,10 +211,7 @@ export default defineComponent({ if (link.memberOnly && this.profile.memberStatus !== 'Active') displayLink = false; if (this.$q.platform.is.electron && !link.kiosk) displayLink = false; - if ( - link.admin && - this.profile?.permissions?.staff - ) { + if (link.admin && !this.profile?.permissions?.staff) { displayLink = false; }