fix(front): hide subscribe button from own profile
This commit is contained in:
parent
72ef80db27
commit
2ad7b24396
|
@ -376,6 +376,7 @@ const tabs = ref([
|
||||||
grow
|
grow
|
||||||
/>
|
/>
|
||||||
<subscribe-button
|
<subscribe-button
|
||||||
|
v-if="store.state.auth.authenticated && object?.attributed_to.full_username !== store.state.auth.fullUsername"
|
||||||
:channel="object"
|
:channel="object"
|
||||||
@subscribed="updateSubscriptionCount(1)"
|
@subscribed="updateSubscriptionCount(1)"
|
||||||
@unsubscribed="updateSubscriptionCount(-1)"
|
@unsubscribed="updateSubscriptionCount(-1)"
|
||||||
|
|
Loading…
Reference in New Issue