Compare commits
No commits in common. "de5901492b1fb85f92fb3a7afa34dfe3f56ac929" and "7b1c9b681e10938d143f3f61b6d41acf83548fa3" have entirely different histories.
de5901492b
...
7b1c9b681e
@ -110,7 +110,6 @@ export default function PowerConditionalSelect(props) {
|
||||
selected: s.pcsSerCd === data.pcsSerCd ? !s.selected : false,
|
||||
}
|
||||
})
|
||||
setSelectedModels([])
|
||||
}
|
||||
setSeries(copySeries)
|
||||
handleSetmodels(copySeries.filter((s) => s.selected))
|
||||
|
||||
@ -308,17 +308,8 @@ export function useRoofAllocationSetting(id) {
|
||||
*/
|
||||
const handleSaveContext = () => {
|
||||
const newRoofList = currentRoofList.map((roof, idx) => {
|
||||
if (roof.index !== idx) {
|
||||
// 기존 저장된 지붕재의 index 수정
|
||||
const roofs = canvas.getObjects().filter((obj) => obj.name === POLYGON_TYPE.ROOF && obj.roofMaterial?.index === roof.index)
|
||||
roofs.forEach((roof) => {
|
||||
setSurfaceShapePattern(roof, roofDisplay.column, false, { ...roof, index: idx }, true)
|
||||
})
|
||||
}
|
||||
|
||||
return { ...roof, index: idx, raft: roof.raft ? roof.raft : roof.raftBaseCd }
|
||||
})
|
||||
|
||||
setBasicSetting((prev) => {
|
||||
return {
|
||||
...prev,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user