kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
fix(front): subscribe modal on channel page
rodzic
788cc73135
commit
d721d8f223
|
@ -439,24 +439,13 @@ const tabs = ref([
|
|||
@click.stop.prevent="showSubscribeModal = true"
|
||||
/>
|
||||
<Modal
|
||||
v-model:show="showSubscribeModal"
|
||||
v-model="showSubscribeModal"
|
||||
:title="t('views.channels.DetailBase.modal.subscribe.header')"
|
||||
class="tiny"
|
||||
:cancel="t('views.channels.DetailBase.button.cancel')"
|
||||
>
|
||||
<div class="scrollable content">
|
||||
<div class="description">
|
||||
<template v-if="store.state.auth.authenticated">
|
||||
<h3>
|
||||
<i class="user icon" />
|
||||
{{ t('views.channels.DetailBase.modal.subscribe.funkwhale.header') }}
|
||||
</h3>
|
||||
<subscribe-button
|
||||
:channel="object"
|
||||
@subscribed="updateSubscriptionCount(1)"
|
||||
@unsubscribed="updateSubscriptionCount(-1)"
|
||||
/>
|
||||
</template>
|
||||
<template v-if="object.rss_url">
|
||||
<h3>
|
||||
<i class="feed icon" />
|
||||
|
|
Ładowanie…
Reference in New Issue