1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-11-25 15:46:17 +09:00
This commit is contained in:
syuilo 2020-02-20 23:11:09 +09:00
parent 4263dbef31
commit b378cabfc7

View File

@ -153,15 +153,15 @@ export default Vue.extend({
text: this.$t('_timelines.home'),
icon: faHome,
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'),
icon: faComments,
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'),
icon: faShareAlt,
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'),
icon: faGlobe,
action: () => { this.setSrc('global') }