diff --git a/src/client/pages/timeline.vue b/src/client/pages/timeline.vue
index f9afdd51a1..8a7ee6077a 100644
--- a/src/client/pages/timeline.vue
+++ b/src/client/pages/timeline.vue
@@ -8,9 +8,9 @@
-
-
-
+
+
+
@@ -84,8 +84,12 @@ export default defineComponent({
};
},
- meta() {
- return this.$instance;
+ isLocalTimelineAvailable(): boolean {
+ return !this.$instance.disableLocalTimeline || this.$i.isModerator || this.$i.isAdmin;
+ },
+
+ isGlobalTimelineAvailable(): boolean {
+ return !this.$instance.disableGlobalTimeline || this.$i.isModerator || this.$i.isAdmin;
},
},