Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
revert (#689)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ornella452 authored Oct 23, 2024
1 parent 1b6b6b2 commit 51373a9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/connected/cra/Components/ValidationButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ function ValidationButton() {
redirectionValide += organisme[Object.keys(organisme)[0]];
});
cra.accompagnement = { atelier: cra?.nbAccompagnementAtelier ?? 0, individuel: cra?.nbAccompagnementIndividuel ?? 0, redirection: redirectionValide };
let { ...dataCraToSend } = cra;
/* eslint-disable */
let { errorsRequired, printError, searchCP, searchInput, saveInProgress, error, showSelectRedirection, nbParticipantsAge,
nbParticipantsStatut, nbParticipantsAccompagnement, nbAccompagnementAtelier, nbAccompagnementIndividuel, nbAccompagnementRedirection, nbOrganisme, organisme,
printFlashbag, buttonCP, buttonPermanences, buttonPermanence, nomEnseigne, listeSousThemes, errorSousTheme, loadingSuggestion, loading, countCra,
...dataCraToSend } = cra;
dataCraToSend.idStructure = conseiller?.structureId;

if (dataCraToSend?.sousThemes?.length === 0) {
Expand Down

0 comments on commit 51373a9

Please sign in to comment.