From c454b1936f3163e7ab0e2732c5d2fd75cda37865 Mon Sep 17 00:00:00 2001 From: "hyojun.choi" Date: Mon, 29 Dec 2025 11:10:02 +0900 Subject: [PATCH] =?UTF-8?q?=EC=88=98=EB=8F=99=EC=84=A4=EC=A0=95=20?= =?UTF-8?q?=EC=8B=9C=20=EC=8B=A4=EB=82=B4=EC=A7=91=EC=A4=91=ED=98=95=20?= =?UTF-8?q?=EB=A1=9C=EC=A7=81=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../step/type/PassivityCircuitAllocation.jsx | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/src/components/floor-plan/modal/circuitTrestle/step/type/PassivityCircuitAllocation.jsx b/src/components/floor-plan/modal/circuitTrestle/step/type/PassivityCircuitAllocation.jsx index 22b0dd16..df8ecde2 100644 --- a/src/components/floor-plan/modal/circuitTrestle/step/type/PassivityCircuitAllocation.jsx +++ b/src/components/floor-plan/modal/circuitTrestle/step/type/PassivityCircuitAllocation.jsx @@ -103,17 +103,6 @@ export default function PassivityCircuitAllocation(props) { surfaceType[`${surface.direction}-${surface.roofMaterial.pitch}`] = surface }) - if (surfaceList.length > 1) { - if (Object.keys(surfaceType).length > 1) { - swalFire({ - text: getMessage('module.circuit.fix.not.same.roof.error'), - type: 'alert', - icon: 'warning', - }) - return - } - } - if (!circuitNumber || circuitNumber === 0) { swalFire({ text: getMessage('module.circuit.minimun.error'), @@ -145,7 +134,11 @@ export default function PassivityCircuitAllocation(props) { originSurfaceList.concat(originSurfaceList).forEach((surface) => { surfaceType[`${surface.direction}-${surface.roofMaterial.pitch}`] = surface }) + + break + } + case 'OUTDMULTI': { if (surfaceList.length > 1) { if (Object.keys(surfaceType).length > 1) { swalFire({ @@ -156,10 +149,6 @@ export default function PassivityCircuitAllocation(props) { return } } - - break - } - case 'OUTDMULTI': { if (selectedModels.length > 1) { let result = false