Commit 0fc6f00e authored by Juan Manuel Solaro's avatar Juan Manuel Solaro

(fix) hide subscribe button when logged user is the same as pro channel

1 merge request!486WIP: (feat): Minds Pro (development branch) - Release 2
Pipeline #75403665 passed with stages
in 29 minutes and 30 seconds
......@@ -65,7 +65,7 @@
i18n
>Donate</a>
<button class="m-btn" (click)="subscribe($event)" [disabled]="channel.subscribed">
<button class="m-btn" (click)="subscribe($event)" [disabled]="channel.subscribed" [hidden]="currentUser && (channel.guid === currentUser.guid)">
{{ !channel.subscribed ? 'Subscribe' : 'Subscribed' }}
<span>
{{ channel.subscribers_count | abbr:0 }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment