mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 05:23:08 +02:00
[Client] Resolve #3895
This commit is contained in:
parent
3154350b64
commit
eb45eeb1ae
2 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue