diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2020-02-20 23:11:09 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2020-02-20 23:11:09 +0900 |
| commit | b378cabfc7babe343a95142d19fe8e2374378293 (patch) | |
| tree | ca7ebb404090ad541deb2315278e4ecac38bcc21 /src | |
| parent | Fix #6026 (diff) | |
| download | sharkey-b378cabfc7babe343a95142d19fe8e2374378293.tar.gz sharkey-b378cabfc7babe343a95142d19fe8e2374378293.tar.bz2 sharkey-b378cabfc7babe343a95142d19fe8e2374378293.zip | |
Fix bug
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/pages/index.home.vue | 6 |
1 files 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') } |