diff --git a/stdiet-ui/src/utils/healthyData.js b/stdiet-ui/src/utils/healthyData.js index ebe4e85e1..c788249c5 100644 --- a/stdiet-ui/src/utils/healthyData.js +++ b/stdiet-ui/src/utils/healthyData.js @@ -591,7 +591,7 @@ export function dealHealthy(customerHealthy) { motionStr += customerHealthy.otherMotionClassify ? `,${customerHealthy.otherMotionClassify}` : ""; - customerHealthy.motion = motionStr.replaceAll(",", ","); + customerHealthy.motion = motionStr; } if (customerHealthy.hasOwnProperty("motionField")) { customerHealthy.motionField += customerHealthy.otherMotionField