diff options
| author | kPherox <admin@mail.kr-kp.com> | 2020-02-04 04:30:31 +0900 |
|---|---|---|
| committer | kPherox <admin@mail.kr-kp.com> | 2020-02-04 04:54:36 +0900 |
| commit | 9b7497a65957b3f1d3b9f920266fae9bdae11dd5 (patch) | |
| tree | d91364f80653a705f11f2805a88498033fc9edac /src | |
| parent | 9bbf10b55d97f6dbe3197ebbd1bb29d294ff6b55 (diff) | |
Change to hide User migrates tab when allow following move
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/interactions/interactions.js | 1 | ||||
| -rw-r--r-- | src/components/interactions/interactions.vue | 1 |
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')" /> |
