fix(front): subscribe modal on channel page

This commit is contained in:
ArneBo 2025-04-02 14:17:07 +02:00
parent 788cc73135
commit d721d8f223
1 changed files with 1 additions and 12 deletions

View File

@ -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" />