diff --git a/source/components/ui/Button/button.css b/source/components/ui/Button/button.css index a2925bf00..6669b494b 100644 --- a/source/components/ui/Button/button.css +++ b/source/components/ui/Button/button.css @@ -80,6 +80,7 @@ border-color: white; color: white; } + .ui__.button.simple { border: none; } diff --git a/source/selectors/companyStatusSelectors.js b/source/selectors/companyStatusSelectors.js index 398c3d3b5..2273e90e3 100644 --- a/source/selectors/companyStatusSelectors.js +++ b/source/selectors/companyStatusSelectors.js @@ -194,6 +194,15 @@ export const régimeSelector = (state: { inFranceApp: State }): 'indépendant' const companyStatusChoice = state.inFranceApp.companyStatusChoice const companyLegalStatus = state.inFranceApp.companyLegalStatus if (!companyStatusChoice) { + if (companyLegalStatus.directorStatus === 'SALARIED') { + return "assimilé-salarié" + } + if (companyLegalStatus.directorStatus === 'SELF-EMPLOYED') { + return "indépendant" + } + if(companyLegalStatus.microEnterprise === true) { + return "micro-entreprise" + } return null; } if(companyStatusChoice.includes('micro-entreprise')) {