Compare commits

..

No commits in common. "3ac9e56def8155ea7c09343928e0fcd32ad8c6db" and "61081475f7e3fe50194aeac0007ef73ac4f56ed7" 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) {