mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-22 06:15:47 +00:00
refactor(FE): Send selected record date to next-day API
This commit is contained in:
@@ -562,7 +562,10 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
|
||||
nextDayRecordingUrl
|
||||
? () => {
|
||||
const projectFlockKandangId = projectFlockKandangLookup!.id;
|
||||
return RecordingApi.nextDayRecording(projectFlockKandangId);
|
||||
return RecordingApi.nextDayRecording(
|
||||
projectFlockKandangId,
|
||||
selectedRecordDate
|
||||
);
|
||||
}
|
||||
: null
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user