Skip to content

Commit

Permalink
fix for empty zone order
Browse files Browse the repository at this point in the history
  • Loading branch information
haim-kermany committed Jan 7, 2024
1 parent a4b1890 commit db4b785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/drawio/subnetsLayout.go
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ func (ly *subnetsLayout) calcZoneOrder() {
}
}
}
if len(zoneOrders) > 0 {
if len(zoneOrder) > 0 {
zoneOrders = append(zoneOrders, zoneOrder)
}
ly.setZonesCol(zoneOrders)
Expand Down

0 comments on commit db4b785

Please sign in to comment.