fix(front): subscribe modal on channel page

environments/review-docs-feat-z0hkbz/deployments/20986
ArneBo 2025-04-02 14:17:07 +02:00
rodzic 788cc73135
commit d721d8f223
1 zmienionych plików z 1 dodań i 12 usunięć

Wyświetl plik

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