migrate SubscribeButton to the existing common component
This commit is contained in:
parent
d5e8315e83
commit
4cf402ff21
4 changed files with 16 additions and 51 deletions
|
@ -72,7 +72,14 @@
|
|||
</button>
|
||||
</span>
|
||||
</div>
|
||||
<SubscribeButton :user="user" />
|
||||
<div>
|
||||
<ProgressButton :click="subscribeUser" v-if="!user.subscribing">
|
||||
Subscribe
|
||||
</ProgressButton>
|
||||
<ProgressButton class="pressed" :click="unsubscribeUser" v-else>
|
||||
Subscribing!
|
||||
</ProgressButton>
|
||||
</div>
|
||||
<div class='mute' v-if='isOtherUser && loggedIn'>
|
||||
<span v-if='user.muted'>
|
||||
<button @click="unmuteUser" class="pressed">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue