Skip to content

Commit

Permalink
fix(export): fix layers error when export tool is aleardy selected (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeLafreniere18 authored and cbourget committed Mar 21, 2023
1 parent 9ff0c50 commit 7cf19a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ export class ImportExportComponent implements OnDestroy, OnInit {
}

public getLayerTitleById(id): string {
return this.map.getLayerById(id).title;
return this.map.getLayerById(id)?.title;
}


Expand Down

0 comments on commit 7cf19a7

Please sign in to comment.