The donation button is only visible when AcceptDonation is true on Creator

This commit is contained in:
2025-01-08 23:19:14 -05:00
parent 786530d963
commit 3ad0ef69f3
2 changed files with 2 additions and 1 deletions

View File

@@ -203,6 +203,7 @@ onBeforeUnmount(() => {
<!-- Bouton Support -->
<div
v-show="brandingStore.value.acceptDonation"
class="z-20 shadow-2xl rounded-md text-white flex justify-center items-center z-50"
:class="{
'absolute bottom-6 right-8 w-64 h-28 ': !isMobile,

View File

@@ -16,7 +16,7 @@ const client = useClient();
const save = async () => {
try {
await client.post(`/api/creators/stripe-account`, {
await client.post(`/api/membership/stripe-account`, {
stripeAccountId: stripeId.value,
});