Merge pull request #499 from markusguenther/fix_followbutton
Hide follower menue for own user account
This commit is contained in:
commit
7467063e95
|
@ -6,7 +6,7 @@
|
|||
element-loading-background="rgba(0, 0, 0, 0.8)">
|
||||
<div class="header-background" v-bind:style="{ backgroundImage: 'url(' + account.header + ')' }">
|
||||
<div class="header">
|
||||
<div class="follow-follower" v-if="relationship !== null && relationship !== ''">
|
||||
<div class="follow-follower" v-if="relationship !== null && relationship !== '' && account.username!==user.username">
|
||||
<div class="follower-status">
|
||||
<span class="status" v-if="relationship.followed_by">{{ $t('side_bar.account_profile.follows_you') }}</span>
|
||||
<span class="status" v-else>{{ $t('side_bar.account_profile.doesnt_follow_you') }}</span>
|
||||
|
@ -104,6 +104,7 @@ export default {
|
|||
computed: {
|
||||
...mapState({
|
||||
account: state => state.TimelineSpace.Contents.SideBar.AccountProfile.account,
|
||||
user: state => state.TimelineSpace.account,
|
||||
relationship: state => state.TimelineSpace.Contents.SideBar.AccountProfile.relationship,
|
||||
loading: state => state.TimelineSpace.Contents.SideBar.AccountProfile.loading,
|
||||
theme: (state) => {
|
||||
|
|
Loading…
Reference in New Issue