Merge branch 'staging' into 'production'

Staging

See merge request mbugroup/lti-web-client!254
This commit is contained in:
Adnan Zahir
2026-01-24 14:28:37 +07:00
@@ -222,9 +222,13 @@ const TransferToLayingFormModal = () => {
isLoading: isLoadingFlockSourceKandangsAvailability,
} = useSWR(
formik.values.flockSource
? String(formik.values.flockSource.value)
? [
'transfer-to-laying',
'available-qty',
String(formik.values.flockSource.value),
]
: undefined,
(id: string) =>
([, , id]: string[]) =>
TransferToLayingApi.getMappedFlockKandangsAvailability(Number(id))
);
@@ -385,8 +389,8 @@ const TransferToLayingFormModal = () => {
}
};
getFilledInitialValues();
getFlockSourceData();
getFilledInitialValues();
}, [transferToLayingId, transferToLaying]);
useEffect(() => {