aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkPherox <admin@mail.kr-kp.com>2020-02-04 04:30:31 +0900
committerkPherox <admin@mail.kr-kp.com>2020-02-04 04:54:36 +0900
commit9b7497a65957b3f1d3b9f920266fae9bdae11dd5 (patch)
treed91364f80653a705f11f2805a88498033fc9edac
parent9bbf10b55d97f6dbe3197ebbd1bb29d294ff6b55 (diff)
Change to hide User migrates tab when allow following move
-rw-r--r--src/components/interactions/interactions.js1
-rw-r--r--src/components/interactions/interactions.vue1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/components/interactions/interactions.js b/src/components/interactions/interactions.js
index cc31ff20..7fe5e76d 100644
--- a/src/components/interactions/interactions.js
+++ b/src/components/interactions/interactions.js
@@ -10,6 +10,7 @@ const tabModeDict = {
const Interactions = {
data () {
return {
+ allowFollowingMove: this.$store.state.users.currentUser.allow_following_move,
filterMode: tabModeDict['mentions']
}
},
diff --git a/src/components/interactions/interactions.vue b/src/components/interactions/interactions.vue
index a2e252ab..57d5d87c 100644
--- a/src/components/interactions/interactions.vue
+++ b/src/components/interactions/interactions.vue
@@ -22,6 +22,7 @@
:label="$t('interactions.follows')"
/>
<span
+ v-if="!allowFollowingMove"
key="moves"
:label="$t('interactions.moves')"
/>