Skip to content

Commit 1f3e99e

Browse files
committed
main
1 parent 2b4e484 commit 1f3e99e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/use-cases/plan/GeneratePlan.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@ export class GeneratePlan {
5959
}
6060
}
6161

62-
if (plan.type === PlanType.TOPOGRAPHIC && plan.topographic_boundary) {
62+
if (
63+
plan.type === PlanType.TOPOGRAPHIC &&
64+
plan.topographic_boundary &&
65+
plan.topographic_boundary.coordinates.length > 0
66+
) {
6367
// compute back computation
6468
const backComputationResult = this.backComputation.execute({
6569
points: plan.topographic_boundary.coordinates,

0 commit comments

Comments
 (0)