Change to hide User migrates tab when allow following move

This commit is contained in:
kPherox 2020-02-04 04:30:31 +09:00
parent 9bbf10b55d
commit 9b7497a659
No known key found for this signature in database
GPG key ID: C04751C2BFA2F62D
2 changed files with 2 additions and 0 deletions

View file

@ -10,6 +10,7 @@ const tabModeDict = {
const Interactions = { const Interactions = {
data () { data () {
return { return {
allowFollowingMove: this.$store.state.users.currentUser.allow_following_move,
filterMode: tabModeDict['mentions'] filterMode: tabModeDict['mentions']
} }
}, },

View file

@ -22,6 +22,7 @@
:label="$t('interactions.follows')" :label="$t('interactions.follows')"
/> />
<span <span
v-if="!allowFollowingMove"
key="moves" key="moves"
:label="$t('interactions.moves')" :label="$t('interactions.moves')"
/> />