diff --git a/src/hooks/roofcover/useRoofAllocationSetting.js b/src/hooks/roofcover/useRoofAllocationSetting.js index f8ad7d30..79510bc1 100644 --- a/src/hooks/roofcover/useRoofAllocationSetting.js +++ b/src/hooks/roofcover/useRoofAllocationSetting.js @@ -356,7 +356,7 @@ export function useRoofAllocationSetting(id) { roofBases.forEach((roof) => { if (roof.separatePolygon.length === 0) { roof.innerLines.forEach((line) => { - if (!line.attributes.actualSize || line.attributes?.actualSize === 0) { + if ((!line.attributes.actualSize || line.attributes?.actualSize === 0) && line.length > 1) { line.set({ strokeWidth: 4, stroke: 'black', selectable: true }) result = true }