diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-01-16 14:46:54 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-01-16 14:46:54 +0900 |
| commit | eb45eeb1ae8dc9cbb238db98fbf659d1b593e4d1 (patch) | |
| tree | 7d4988e331be1309022921a067f77630e05f3f82 /src | |
| parent | 10.76.0 (diff) | |
| download | sharkey-eb45eeb1ae8dc9cbb238db98fbf659d1b593e4d1.tar.gz sharkey-eb45eeb1ae8dc9cbb238db98fbf659d1b593e4d1.tar.bz2 sharkey-eb45eeb1ae8dc9cbb238db98fbf659d1b593e4d1.zip | |
[Client] Resolve #3895
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/app/desktop/views/components/timeline.vue | 2 | ||||
| -rw-r--r-- | src/client/app/mobile/views/pages/home.vue | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/desktop/views/components/timeline.vue b/src/client/app/desktop/views/components/timeline.vue index 110eddfdae..dfcac31a7f 100644 --- a/src/client/app/desktop/views/components/timeline.vue +++ b/src/client/app/desktop/views/components/timeline.vue @@ -65,7 +65,7 @@ export default Vue.extend({ created() { this.$root.getMeta().then(meta => { - this.enableLocalTimeline = !meta.disableLocalTimeline; + this.enableLocalTimeline = !meta.disableLocalTimeline || this.$store.state.i.isModerator || this.$store.state.i.isAdmin; }); if (this.$store.state.device.tl) { diff --git a/src/client/app/mobile/views/pages/home.vue b/src/client/app/mobile/views/pages/home.vue index 33be56fd3d..cc30777177 100644 --- a/src/client/app/mobile/views/pages/home.vue +++ b/src/client/app/mobile/views/pages/home.vue @@ -112,7 +112,7 @@ export default Vue.extend({ created() { this.$root.getMeta().then(meta => { - this.enableLocalTimeline = !meta.disableLocalTimeline; + this.enableLocalTimeline = !meta.disableLocalTimeline || this.$store.state.i.isModerator || this.$store.state.i.isAdmin; }); if (this.$store.state.device.tl) { |