The donation button is only visible when AcceptDonation is true on Creator
This commit is contained in:
@@ -203,6 +203,7 @@ onBeforeUnmount(() => {
|
|||||||
|
|
||||||
<!-- Bouton Support -->
|
<!-- Bouton Support -->
|
||||||
<div
|
<div
|
||||||
|
v-show="brandingStore.value.acceptDonation"
|
||||||
class="z-20 shadow-2xl rounded-md text-white flex justify-center items-center z-50"
|
class="z-20 shadow-2xl rounded-md text-white flex justify-center items-center z-50"
|
||||||
:class="{
|
:class="{
|
||||||
'absolute bottom-6 right-8 w-64 h-28 ': !isMobile,
|
'absolute bottom-6 right-8 w-64 h-28 ': !isMobile,
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ const client = useClient();
|
|||||||
|
|
||||||
const save = async () => {
|
const save = async () => {
|
||||||
try {
|
try {
|
||||||
await client.post(`/api/creators/stripe-account`, {
|
await client.post(`/api/membership/stripe-account`, {
|
||||||
stripeAccountId: stripeId.value,
|
stripeAccountId: stripeId.value,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user