context에서 할당 시에도 db저장 추가

This commit is contained in:
hyojun.choi 2025-02-07 11:23:55 +09:00
parent 8819e7c5bc
commit 0ad907d08f

View File

@ -261,6 +261,7 @@ export function useRoofAllocationSetting(id) {
// 지붕재 오른쪽 마우스 클릭 후 단일로 지붕재 변경 필요한 경우
const handleSaveContext = () => {
basicSettingSave()
const newRoofList = currentRoofList.map((roof, idx) => {
return { ...roof, index: idx }
})