Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(export): fix layers error when export tool is aleardy selected #1025

Merged
merged 1 commit into from
Mar 29, 2022

Conversation

PhilippeLafreniere18
Copy link
Contributor

Please check if the PR fulfills these requirements

What is the current behavior? (You can also link to an open issue here)
In certain cases, when exportable layers are added, then deleted from the map, an error is raised and the app shut down.

What is the new behavior?
If no layers are found, getLayerTitleById return undefined and no error is raised.

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant