Merge branch 'qcast-pub' into dev

This commit is contained in:
김민식 2025-02-06 18:08:51 +09:00
commit f17b308384

View File

@ -240,7 +240,7 @@ export function useRoofAllocationSetting(id) {
const onDeleteRoofMaterial = (idx) => {
const isSelected = currentRoofList[idx].selected
const newRoofList = [...currentRoofList].filter((_, index) => index !== idx)
const newRoofList = JSON.parse(JSON.stringify(currentRoofList)).filter((_, index) => index !== idx)
if (isSelected) {
newRoofList[0].selected = true
}