mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 21:37:34 -07:00
Fix bug
This commit is contained in:
parent
53ebf4c128
commit
032ca34f0b
1 changed files with 3 additions and 3 deletions
|
@ -153,15 +153,15 @@ export default Vue.extend({
|
||||||
text: this.$t('_timelines.home'),
|
text: this.$t('_timelines.home'),
|
||||||
icon: faHome,
|
icon: faHome,
|
||||||
action: () => { this.setSrc('home') }
|
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'),
|
text: this.$t('_timelines.local'),
|
||||||
icon: faComments,
|
icon: faComments,
|
||||||
action: () => { this.setSrc('local') }
|
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'),
|
text: this.$t('_timelines.social'),
|
||||||
icon: faShareAlt,
|
icon: faShareAlt,
|
||||||
action: () => { this.setSrc('social') }
|
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'),
|
text: this.$t('_timelines.global'),
|
||||||
icon: faGlobe,
|
icon: faGlobe,
|
||||||
action: () => { this.setSrc('global') }
|
action: () => { this.setSrc('global') }
|
||||||
|
|
Loading…
Reference in a new issue