Update Ui
This commit is contained in:
@@ -58,11 +58,11 @@
|
|||||||
<div class="absolute bottom-6 right-8 z-20 shadow-2xl rounded-md text-white w-64 h-28 flex justify-center align-center"
|
<div class="absolute bottom-6 right-8 z-20 shadow-2xl rounded-md text-white w-64 h-28 flex justify-center align-center"
|
||||||
:style="{ backgroundColor: brandingStore.colors.secondary}">
|
:style="{ backgroundColor: brandingStore.colors.secondary}">
|
||||||
|
|
||||||
<!-- <donation-button-banner -->
|
<donation-button-banner
|
||||||
<!-- :creator-id="creatorId"-->
|
:creator-id="creatorId"
|
||||||
<!-- :creator-name="creatorName"-->
|
:creator-name="creatorName"
|
||||||
<!-- :on-success-url="successUrl"-->
|
:on-success-url="successUrl"
|
||||||
<!-- :on-cancelled-url="cancelledUrl"></donation-button-banner>-->
|
:on-cancelled-url="cancelledUrl"></donation-button-banner>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -458,24 +458,24 @@ async function saveChanges() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const payload = {
|
const payload = {
|
||||||
PhoneNumber: editablePhoneNumber.value, // Correctement mappé
|
PhoneNumber: editablePhoneNumber.value,
|
||||||
Email: editableEmail.value, // Correctement mappé
|
Email: editableEmail.value,
|
||||||
Title: editableMainTitle.value, // Correspond à "Title" dans le backend
|
Title: editableMainTitle.value,
|
||||||
MainImageText: editableMainImageText.value, // Correspond à "MainImageText"
|
MainImageText: editableMainImageText.value,
|
||||||
MainVideoText: editableMainVideoText.value, // Correspond à "MainVideoText"
|
MainVideoText: editableMainVideoText.value,
|
||||||
ImagesSubtitle: editableImagesSubtitle.value, // Correspond à "ImagesSubtitle"
|
ImagesSubtitle: editableImagesSubtitle.value,
|
||||||
ImagesText: editableImagesText.value, // Correspond à "ImagesText"
|
ImagesText: editableImagesText.value,
|
||||||
VideoSubtitle: editableVideoSubtitle.value, // Correspond à "VideoSubtitle"
|
VideoSubtitle: editableVideoSubtitle.value,
|
||||||
VideoSubtitleMain: editableVideoSubtitleMain.value, // Correspond à "VideoSubtitleMain"
|
VideoSubtitleMain: editableVideoSubtitleMain.value,
|
||||||
VideoUrlMain: editableVideoUrlMain.value, // Correspond à "VideoUrlMain"
|
VideoUrlMain: editableVideoUrlMain.value,
|
||||||
VideoUrl: editableVideoUrl.value, // Correspond à "VideoUrl"
|
VideoUrl: editableVideoUrl.value,
|
||||||
VideoText: editableVideoText.value // Correspond à "VideoText"
|
VideoText: editableVideoText.value
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
console.log("Payload envoyé :", payload); // Log pour déboguer les valeurs envoyées
|
console.log("Payload envoyé :", payload);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const response = await client.post(
|
const response = await client.post(
|
||||||
|
|||||||
Reference in New Issue
Block a user