1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-14 14:48:53 +09:00

Hide unusable follow buttons (#4208)

This commit is contained in:
MeiMei 2019-02-10 05:56:11 +09:00 committed by syuilo
parent 7216d0fb1f
commit 7ca073aafd
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<div class="zvdbznxvfixtmujpsigoccczftvpiwqh"> <div class="zvdbznxvfixtmujpsigoccczftvpiwqh">
<div class="banner" :style="bannerStyle"></div> <div class="banner" :style="bannerStyle"></div>
<mk-avatar class="avatar" :user="user" :disable-preview="true"/> <mk-avatar class="avatar" :user="user" :disable-preview="true"/>
<mk-follow-button :user="user" class="follow" mini/> <mk-follow-button v-if="$store.getters.isSignedIn && user.id != $store.state.i.id" :user="user" class="follow" mini/>
<div class="body"> <div class="body">
<router-link :to="user | userPage" class="name"> <router-link :to="user | userPage" class="name">
<mk-user-name :user="user"/> <mk-user-name :user="user"/>

View File

@ -7,7 +7,7 @@
<mk-user-name :user="user"/> <mk-user-name :user="user"/>
</a> </a>
<p class="username"><mk-acct :user="user"/></p> <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> </div>
</template> </template>