Change to hide User migrates tab when allow following move

revert-cdd4f0ae
kPherox 5 years ago
parent 9bbf10b55d
commit 9b7497a659
No known key found for this signature in database
GPG Key ID: C04751C2BFA2F62D

@ -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']
} }
}, },

@ -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')"
/> />

Loading…
Cancel
Save