Skip to content

Commit

Permalink
fix(draw): error with layers with numeric id (#1195)
Browse files Browse the repository at this point in the history
  • Loading branch information
pelord authored Mar 15, 2023
1 parent b2e6f2b commit 327e5d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/geo/src/lib/draw/draw/draw.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@ export class DrawComponent implements OnInit, OnDestroy {

get allLayers() {
return this.map.layers.filter((layer) =>
layer.id.includes('igo-draw-layer')
String(layer.id).includes('igo-draw-layer')
);
}

Expand Down

0 comments on commit 327e5d3

Please sign in to comment.