Skip to content

Commit

Permalink
Resolve QMC comment about isLine var
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedHamouGisaia committed Oct 18, 2023
1 parent c181b31 commit ece182f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ export class MapboxAoiDrawService {
const areCoordinatesDefined = isGeometryDefined && !!feature.geometry.coordinates;
if (areCoordinatesDefined) {
const coordinates = feature.geometry.coordinates;
const isArea = coordinates.length === 1 && coordinates[0].length > 1;
return isArea;
const isLine = coordinates.length === 1 && coordinates[0].length > 1;
return isLine;
}
return false;
}
Expand Down

0 comments on commit ece182f

Please sign in to comment.