Merge branch 'feature/yj-layoutSetup' of https://git.hanasys.jp/qcast3/qcast-front into feature/yj-layoutSetup
This commit is contained in:
commit
0a493884c6
@ -222,6 +222,7 @@ const Trestle = forwardRef((props, ref) => {
|
||||
if (i === selectedRoof?.index) {
|
||||
return {
|
||||
...selectedRoof,
|
||||
addRoof: roof,
|
||||
trestle: trestleState,
|
||||
eavesMargin,
|
||||
ridgeMargin,
|
||||
@ -267,7 +268,7 @@ const Trestle = forwardRef((props, ref) => {
|
||||
...moduleSelectionData,
|
||||
roofConstructions: newAddedRoofs.map((roof, index) => {
|
||||
return {
|
||||
roofIndex: index,
|
||||
roofIndex: roof.index,
|
||||
addRoof: {
|
||||
...moduleSelectionData.roofConstructions[index]?.addRoof,
|
||||
...roof.addRoof,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user