Compare commits

..

No commits in common. "71a518e3e8e4f89450b69fef9867bce53609564e" and "64c0549cca314ab2b8d4de87d310cfd310d78645" have entirely different histories.

View File

@ -1556,7 +1556,7 @@ export const useTrestle = () => {
//랙 없음 인 경우 지지금구 설치 //랙 없음 인 경우 지지금구 설치
const installBracketWithOutRack = (surface, exposedBottomModules, leftExposedHalfBottomModules, rightExposedHalfBottomPoints, isChidory) => { const installBracketWithOutRack = (surface, exposedBottomModules, leftExposedHalfBottomModules, rightExposedHalfBottomPoints, isChidory) => {
let { rackQty, rackIntvlPct, moduleIntvlHor, moduleIntvlVer, lessSupFitQty, lessSupFitIntvlPct, moduleMaxRows } = surface.trestleDetail let { rackQty, rackIntvlPct, moduleIntvlHor, moduleIntvlVer, lessSupFitQty, lessSupFitIntvlPct, moduleMaxRows } = surface.trestleDetail
let checkList = [] const checkList = []
exposedBottomModules.forEach((module) => { exposedBottomModules.forEach((module) => {
checkList.push(module.leftRows, module.rightRows, module.centerRows) checkList.push(module.leftRows, module.rightRows, module.centerRows)
@ -1569,9 +1569,6 @@ export const useTrestle = () => {
rightExposedHalfBottomPoints.forEach((module) => { rightExposedHalfBottomPoints.forEach((module) => {
checkList.push(module.leftRows, module.rightRows, module.centerRows) checkList.push(module.leftRows, module.rightRows, module.centerRows)
}) })
checkList = checkList.filter((item) => item !== undefined && item !== null)
const isAllCheckMaxRows = checkList.every((item) => item <= moduleMaxRows) const isAllCheckMaxRows = checkList.every((item) => item <= moduleMaxRows)
if (!isAllCheckMaxRows) { if (!isAllCheckMaxRows) {