Skip to content

Commit

Permalink
Merge pull request #879 from sanger/fix-flag-op-bug
Browse files Browse the repository at this point in the history
fix flag request error
  • Loading branch information
sabrine33 authored Feb 12, 2025
2 parents 269330a + 1ff5154 commit f04095b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pages/FlagLabware.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,10 @@ const FlagLabware = () => {
const convertValuesAndSubmit = async (values: FormFlagLabware) => {
if (!values.labware) return;
const requestValues: FlagLabwareRequest = {
...values,
priority: values.priority!,
barcodes: values.labware!.map((lw) => lw?.barcode)
barcodes: values.labware!.map((lw) => lw?.barcode),
workNumber: values.workNumber,
description: values.description
};
send({ type: 'SUBMIT_FORM', values: requestValues });
};
Expand Down

0 comments on commit f04095b

Please sign in to comment.