diff --git a/src/components/floor-plan/modal/basic/step/Trestle.jsx b/src/components/floor-plan/modal/basic/step/Trestle.jsx index 44a68236..f350ff5a 100644 --- a/src/components/floor-plan/modal/basic/step/Trestle.jsx +++ b/src/components/floor-plan/modal/basic/step/Trestle.jsx @@ -217,7 +217,7 @@ const Trestle = forwardRef((props, ref) => { stdWindSpeed: managementState?.standardWindSpeedId ?? '', stdSnowLd: managementState?.verticalSnowCover ?? '', inclCd: selectedRoof?.pitch ?? 0, - roofPitch: Math.round(selectedRoof?.roofPchBase ?? 0), + roofPitch: Math.round(hajebichi ?? 0), }, }) } @@ -238,7 +238,7 @@ const Trestle = forwardRef((props, ref) => { stdWindSpeed: managementState?.standardWindSpeedId ?? '', stdSnowLd: +managementState?.verticalSnowCover ?? '', inclCd: selectedRoof?.pitch ?? 0, - roofPitch: Math.round(selectedRoof?.roofPchBase ?? 0), + roofPitch: Math.round(hajebichi ?? 0), constTp: constructionList[index].constTp, snowGdPossYn: constructionList[index].snowGdPossYn, cvrYn: constructionList[index].cvrYn, diff --git a/src/hooks/roofcover/useRoofAllocationSetting.js b/src/hooks/roofcover/useRoofAllocationSetting.js index fee893a6..5fbc3ab3 100644 --- a/src/hooks/roofcover/useRoofAllocationSetting.js +++ b/src/hooks/roofcover/useRoofAllocationSetting.js @@ -212,7 +212,6 @@ export function useRoofAllocationSetting(id) { } await post({ url: `/api/canvas-management/roof-allocation-settings`, data: patternData }).then((res) => { - swalFire({ text: getMessage(res.returnMessage) }) setIsGlobalLoading(false) })