summaryrefslogtreecommitdiff
path: root/src/client/app/mobile
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2019-02-10 05:56:11 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-02-10 05:56:11 +0900
commit7ca073aafd271ace567ec0ee9391f3732ce64f8e (patch)
treeaef97b2f50bf027684873743e67de9932c6e79c8 /src/client/app/mobile
parentNew Crowdin translations (#4201) (diff)
downloadsharkey-7ca073aafd271ace567ec0ee9391f3732ce64f8e.tar.gz
sharkey-7ca073aafd271ace567ec0ee9391f3732ce64f8e.tar.bz2
sharkey-7ca073aafd271ace567ec0ee9391f3732ce64f8e.zip
Hide unusable follow buttons (#4208)
Diffstat (limited to 'src/client/app/mobile')
-rw-r--r--src/client/app/mobile/views/components/user-card.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/mobile/views/components/user-card.vue b/src/client/app/mobile/views/components/user-card.vue
index f880f02ac2..c38d475690 100644
--- a/src/client/app/mobile/views/components/user-card.vue
+++ b/src/client/app/mobile/views/components/user-card.vue
@@ -7,7 +7,7 @@
<mk-user-name :user="user"/>
</a>
<p class="username"><mk-acct :user="user"/></p>
- <mk-follow-button class="follow-button" :user="user"/>
+ <mk-follow-button v-if="$store.getters.isSignedIn && user.id != $store.state.i.id" class="follow-button" :user="user"/>
</div>
</template>