From e9650c992e6c8339d7acde4000bf4f3dd8e98bac Mon Sep 17 00:00:00 2001 From: N3WT DE COMPET Date: Sun, 4 May 2025 15:03:51 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20Remise=20en=20=C3=A9tat=20du=20bouton=20?= =?UTF-8?q?Submit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/subscriptions/editInscription/page.js | 2 +- .../components/Inscription/InscriptionFormShared.js | 12 +++++++++++- .../components/Inscription/ValidateSubscription.js | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/Front-End/src/app/[locale]/admin/subscriptions/editInscription/page.js b/Front-End/src/app/[locale]/admin/subscriptions/editInscription/page.js index 3ad2f96..e7884b6 100644 --- a/Front-End/src/app/[locale]/admin/subscriptions/editInscription/page.js +++ b/Front-End/src/app/[locale]/admin/subscriptions/editInscription/page.js @@ -5,7 +5,7 @@ import InscriptionFormShared from '@/components/Inscription/InscriptionFormShare import { FE_ADMIN_SUBSCRIPTIONS_URL } from '@/utils/Url'; import { useCsrfToken } from '@/context/CsrfContext'; import { useEstablishment } from '@/context/EstablishmentContext'; -import { editRegisterForm } from '@/app/actions/subscriptionAction'; +import { editRegisterFormWithBinaryFile } from '@/app/actions/subscriptionAction'; import logger from '@/utils/logger'; import Loader from '@/components/Loader'; diff --git a/Front-End/src/components/Inscription/InscriptionFormShared.js b/Front-End/src/components/Inscription/InscriptionFormShared.js index caebb38..49ec5da 100644 --- a/Front-End/src/components/Inscription/InscriptionFormShared.js +++ b/Front-End/src/components/Inscription/InscriptionFormShared.js @@ -647,7 +647,7 @@ export default function InscriptionFormShared({ primary /> )} - {currentPage < steps.length && ( + {currentPage < steps.length ? (