Layers configured with < a /> tags without proper url-values in infoBox causes errors. #901
Labels
bug
difficulty:easy
Functionality is considered easy to port
module:client/core
Core functionality (not a plugin)
Milestone
If the admin has set up a layer in the following manner (as an example)...
... and the url-parameter is nullish, we will get an error in the client when we info-click. See image below:
We are error:ing since we are creating a element and passing nullish children to it.
Proposed fix:
Conditional rendering of the link component, see below:
From this:
To this:
Thoughts?
The text was updated successfully, but these errors were encountered: