Skip to content

Commit

Permalink
fix: attribution opco inconnu lors des créations établissements CFA (#…
Browse files Browse the repository at this point in the history
…1597)

* fix: attribution inconnu sur les CFAs

* fix: oups

* fix: cleaning
  • Loading branch information
alanlr authored Oct 18, 2024
1 parent 8ab5898 commit 2298ca5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export const InformationCreationCompte = ({ isWidget = false }: { isWidget?: boo
const submitForm = (values, { setSubmitting, setFieldError }) => {
const payload = { ...values, type, establishment_siret }
if (type === AUTHTYPE.CFA) {
delete payload.opco
payload.opco = OPCOS_LABEL.UNKNOWN_OPCO
}
createEtablissement(payload)
.then((data) => {
Expand Down
2 changes: 0 additions & 2 deletions ui/components/espace_pro/OffresTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ export const OffresTabs = ({ recruiter, establishmentId, showStats = false }: {

const jobs: (IJob & { candidatures: number; geo_coordinates: string })[] = recruiter?.jobs ?? []

console.log("recruiter stat : ", recruiter.status)

if (jobs.length === 0) {
return (
<Box py={6} backgroundColor="bluefrance.250">
Expand Down

0 comments on commit 2298ca5

Please sign in to comment.