From 7a60b3a4559571ebdeb567bb11ac6e7cf9103bed Mon Sep 17 00:00:00 2001 From: eris Date: Tue, 30 Aug 2022 01:15:05 +0000 Subject: [PATCH] Hide staff panel if private mode which is empty anyway --- src/components/about/about.js | 2 ++ src/components/about/about.vue | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/about/about.js b/src/components/about/about.js index 1df25845..4e85debe 100644 --- a/src/components/about/about.js +++ b/src/components/about/about.js @@ -13,6 +13,8 @@ const About = { MRFTransparencyPanel }, computed: { + currentUser () { return this.$store.state.users.currentUser }, + privateMode () { return this.$store.state.instance.private }, showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel }, showInstanceSpecificPanel () { return this.$store.state.instance.showInstanceSpecificPanel && diff --git a/src/components/about/about.vue b/src/components/about/about.vue index d27e1999..e9dba67c 100644 --- a/src/components/about/about.vue +++ b/src/components/about/about.vue @@ -1,7 +1,7 @@