Skip to content
Extraits de code Groupes Projets
Valider b2c386d0 rédigé par Mohamed Lemine BAILLAHI's avatar Mohamed Lemine BAILLAHI
Parcourir les fichiers

Merge branch 'feature/MYD-736' into 'develop'

MYD-736/Updated menus to display only the allowed sections based on the user role

Closes MYD-736

See merge request !322
parents 55e02b16 07d279ea
Branches
1 requête de fusion!322MYD-736/Updated menus to display only the allowed sections based on the user role
Ce diff est replié.
......@@ -267,10 +267,7 @@ export default function Referral() {
<Switch
checked={checkboxStates.ipVerificationEnabled}
onChange={() =>
setCheckboxStates((prevState) => ({
...prevState,
isIpVerificationEnabled: !prevState.ipVerificationEnabled, // Mettez à jour l'état local sans appeler l'API
}))
handleCheckboxChange("ipVerificationEnabled")
}
inputProps={{ "aria-label": "controlled" }}
/>
......
0% ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter