mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-10-14 19:38:18 +00:00
Add support for showing subscriber count. (#819)
This commit is contained in:
@@ -17,8 +17,11 @@
|
||||
v-if="authenticated"
|
||||
class="btn"
|
||||
@click="subscribeHandler"
|
||||
v-t="`actions.${subscribed ? 'unsubscribe' : 'subscribe'}`"
|
||||
/>
|
||||
v-t="{
|
||||
path: `actions.${subscribed ? 'unsubscribe' : 'subscribe'}`,
|
||||
args: { count: numberFormat(channel.subscriberCount) },
|
||||
}"
|
||||
></button>
|
||||
|
||||
<hr />
|
||||
|
||||
|
@@ -77,7 +77,10 @@
|
||||
v-if="authenticated"
|
||||
class="btn relative ml-auto"
|
||||
@click="subscribeHandler"
|
||||
v-t="`actions.${subscribed ? 'unsubscribe' : 'subscribe'}`"
|
||||
v-t="{
|
||||
path: `actions.${subscribed ? 'unsubscribe' : 'subscribe'}`,
|
||||
args: { count: numberFormat(video.uploaderSubscriberCount) },
|
||||
}"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user