|
@@ -237,7 +237,8 @@ export const cameraAlgoToJSON = (detail: CameraAlgoItem) => {
|
|
|
|
|
|
|
|
// const timeRangeArr = getDetectionTimeJSON(detail?.detectionTime) || [];
|
|
// const timeRangeArr = getDetectionTimeJSON(detail?.detectionTime) || [];
|
|
|
const timeRangeArr = getDetectionTime(detail?.detectionTime) || [];
|
|
const timeRangeArr = getDetectionTime(detail?.detectionTime) || [];
|
|
|
- const metaValues = getMetaValues(detail?.extra) || [];
|
|
|
|
|
|
|
+ const extraToUse = detail?.extra !== null ? detail.extra : detail?.algoInfo?.extra;
|
|
|
|
|
+ const metaValues = getMetaValues(extraToUse) || [];
|
|
|
|
|
|
|
|
const commonInfo = getExtraCommonInfo(detail);
|
|
const commonInfo = getExtraCommonInfo(detail);
|
|
|
return {
|
|
return {
|