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"
|
||||
:style="{ backgroundColor: brandingStore.colors.secondary}">
|
||||
|
||||
<!-- <donation-button-banner -->
|
||||
<!-- :creator-id="creatorId"-->
|
||||
<!-- :creator-name="creatorName"-->
|
||||
<!-- :on-success-url="successUrl"-->
|
||||
<!-- :on-cancelled-url="cancelledUrl"></donation-button-banner>-->
|
||||
<donation-button-banner
|
||||
:creator-id="creatorId"
|
||||
:creator-name="creatorName"
|
||||
:on-success-url="successUrl"
|
||||
:on-cancelled-url="cancelledUrl"></donation-button-banner>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@@ -458,24 +458,24 @@ async function saveChanges() {
|
||||
}
|
||||
|
||||
const payload = {
|
||||
PhoneNumber: editablePhoneNumber.value, // Correctement mappé
|
||||
Email: editableEmail.value, // Correctement mappé
|
||||
Title: editableMainTitle.value, // Correspond à "Title" dans le backend
|
||||
MainImageText: editableMainImageText.value, // Correspond à "MainImageText"
|
||||
MainVideoText: editableMainVideoText.value, // Correspond à "MainVideoText"
|
||||
ImagesSubtitle: editableImagesSubtitle.value, // Correspond à "ImagesSubtitle"
|
||||
ImagesText: editableImagesText.value, // Correspond à "ImagesText"
|
||||
VideoSubtitle: editableVideoSubtitle.value, // Correspond à "VideoSubtitle"
|
||||
VideoSubtitleMain: editableVideoSubtitleMain.value, // Correspond à "VideoSubtitleMain"
|
||||
VideoUrlMain: editableVideoUrlMain.value, // Correspond à "VideoUrlMain"
|
||||
VideoUrl: editableVideoUrl.value, // Correspond à "VideoUrl"
|
||||
VideoText: editableVideoText.value // Correspond à "VideoText"
|
||||
PhoneNumber: editablePhoneNumber.value,
|
||||
Email: editableEmail.value,
|
||||
Title: editableMainTitle.value,
|
||||
MainImageText: editableMainImageText.value,
|
||||
MainVideoText: editableMainVideoText.value,
|
||||
ImagesSubtitle: editableImagesSubtitle.value,
|
||||
ImagesText: editableImagesText.value,
|
||||
VideoSubtitle: editableVideoSubtitle.value,
|
||||
VideoSubtitleMain: editableVideoSubtitleMain.value,
|
||||
VideoUrlMain: editableVideoUrlMain.value,
|
||||
VideoUrl: editableVideoUrl.value,
|
||||
VideoText: editableVideoText.value
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
console.log("Payload envoyé :", payload); // Log pour déboguer les valeurs envoyées
|
||||
console.log("Payload envoyé :", payload);
|
||||
|
||||
try {
|
||||
const response = await client.post(
|
||||
|
||||
Reference in New Issue
Block a user