From 13cee2b4f56adaf328c2da5c744a9bef5c9185e6 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 16 Jan 2019 14:54:14 +0900 Subject: Resolve #3896 --- src/client/app/desktop/views/components/timeline.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/client/app/desktop/views') diff --git a/src/client/app/desktop/views/components/timeline.vue b/src/client/app/desktop/views/components/timeline.vue index dfcac31a7f..edeb30d9cd 100644 --- a/src/client/app/desktop/views/components/timeline.vue +++ b/src/client/app/desktop/views/components/timeline.vue @@ -4,7 +4,7 @@ {{ $t('home') }} {{ $t('local') }} {{ $t('hybrid') }} - {{ $t('global') }} + {{ $t('global') }} {{ tagTl.title }} {{ list.title }}
@@ -43,7 +43,8 @@ export default Vue.extend({ src: 'home', list: null, tagTl: null, - enableLocalTimeline: false + enableLocalTimeline: false, + enableGlobalTimeline: false, }; }, @@ -66,6 +67,7 @@ export default Vue.extend({ created() { this.$root.getMeta().then(meta => { this.enableLocalTimeline = !meta.disableLocalTimeline || this.$store.state.i.isModerator || this.$store.state.i.isAdmin; + this.enableGlobalTimeline = !meta.disableGlobalTimeline || this.$store.state.i.isModerator || this.$store.state.i.isAdmin; }); if (this.$store.state.device.tl) { -- cgit v1.3.1-freya