fix(front): hide subscribe button from own profile

This commit is contained in:
ArneBo 2025-04-02 12:36:50 +02:00
parent 72ef80db27
commit 2ad7b24396
1 changed files with 1 additions and 0 deletions

View File

@ -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)"