- removed ids in api enpoints as they are in JSON objects being sent
This commit is contained in:
@@ -27,7 +27,7 @@ const ChannelCard = ({ touched, isSubmitting, isBof2ConstantsLoading, isDispatch
|
||||
connectTimeoutSeconds: Number(d?.propConnectTimeoutSeconds?.value),
|
||||
readTimeoutSeconds: Number(d?.propReadTimeoutSeconds?.value),
|
||||
};
|
||||
}, [backOfficeQuery.data]);
|
||||
}, [backOfficeQuery?.data]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!backOfficeQuery?.isSuccess) return;
|
||||
|
||||
@@ -29,6 +29,7 @@ const SettingForms = () => {
|
||||
const sightingQuality = sightingAmendQuery?.data?.propOverviewQuality?.value;
|
||||
const cropSizeFactor = sightingAmendQuery?.data?.propOverviewImageScaleFactor?.value;
|
||||
|
||||
const laneID = laneIdQuery?.data?.id;
|
||||
const LID1 = laneIdQuery?.data?.propLaneID1?.value;
|
||||
const LID2 = laneIdQuery?.data?.propLaneID2?.value;
|
||||
|
||||
@@ -58,6 +59,7 @@ const SettingForms = () => {
|
||||
GPSFormat: GPSFormat ?? "",
|
||||
|
||||
//BOF2 - optional Lane IDs
|
||||
laneId: laneID ?? "",
|
||||
LID1: LID1 ?? "",
|
||||
LID2: LID2 ?? "",
|
||||
};
|
||||
@@ -109,6 +111,7 @@ const SettingForms = () => {
|
||||
};
|
||||
|
||||
const bof2LaneData: OptionalBOF2LaneIDs = {
|
||||
laneId: laneIdQuery?.data?.id,
|
||||
LID1: values.LID1,
|
||||
LID2: values.LID2,
|
||||
LID3: values.LID3,
|
||||
|
||||
Reference in New Issue
Block a user