From b378cabfc7babe343a95142d19fe8e2374378293 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 20 Feb 2020 23:11:09 +0900 Subject: [PATCH] Fix bug --- src/client/pages/index.home.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/pages/index.home.vue b/src/client/pages/index.home.vue index 805014aee9..60035da929 100644 --- a/src/client/pages/index.home.vue +++ b/src/client/pages/index.home.vue @@ -153,15 +153,15 @@ export default Vue.extend({ text: this.$t('_timelines.home'), icon: faHome, action: () => { this.setSrc('home') } - }, this.meta.disableLocalTimeline ? undefined : { + }, this.meta.disableLocalTimeline && !this.$store.state.i.isModerator && !this.$store.state.i.isAdmin ? undefined : { text: this.$t('_timelines.local'), icon: faComments, action: () => { this.setSrc('local') } - }, this.meta.disableLocalTimeline ? undefined : { + }, this.meta.disableLocalTimeline && !this.$store.state.i.isModerator && !this.$store.state.i.isAdmin ? undefined : { text: this.$t('_timelines.social'), icon: faShareAlt, action: () => { this.setSrc('social') } - }, this.meta.disableGlobalTimeline ? undefined : { + }, this.meta.disableGlobalTimeline && !this.$store.state.i.isModerator && !this.$store.state.i.isAdmin ? undefined : { text: this.$t('_timelines.global'), icon: faGlobe, action: () => { this.setSrc('global') }