fix(front): subscribe modal on channel page
This commit is contained in:
parent
788cc73135
commit
d721d8f223
|
@ -439,24 +439,13 @@ const tabs = ref([
|
||||||
@click.stop.prevent="showSubscribeModal = true"
|
@click.stop.prevent="showSubscribeModal = true"
|
||||||
/>
|
/>
|
||||||
<Modal
|
<Modal
|
||||||
v-model:show="showSubscribeModal"
|
v-model="showSubscribeModal"
|
||||||
:title="t('views.channels.DetailBase.modal.subscribe.header')"
|
:title="t('views.channels.DetailBase.modal.subscribe.header')"
|
||||||
class="tiny"
|
class="tiny"
|
||||||
:cancel="t('views.channels.DetailBase.button.cancel')"
|
:cancel="t('views.channels.DetailBase.button.cancel')"
|
||||||
>
|
>
|
||||||
<div class="scrollable content">
|
<div class="scrollable content">
|
||||||
<div class="description">
|
<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">
|
<template v-if="object.rss_url">
|
||||||
<h3>
|
<h3>
|
||||||
<i class="feed icon" />
|
<i class="feed icon" />
|
||||||
|
|
Loading…
Reference in New Issue