mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
refactor(FE): Update field name from 'isExpedition' to 'flags' in
handler
This commit is contained in:
@@ -184,7 +184,7 @@ const NonstockForm = ({ type = 'add', initialValues }: NonstockFormProps) => {
|
||||
};
|
||||
|
||||
const expeditionChangeHandler = (e: React.ChangeEvent<HTMLInputElement>) => {
|
||||
formik.setFieldValue('isExpedition', e.target.value === 'true');
|
||||
formik.setFieldValue('flags', e.target.value === 'true');
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user