Skip to content

Commit

Permalink
hotfix base layer id
Browse files Browse the repository at this point in the history
  • Loading branch information
submarcos committed Oct 4, 2023
1 parent aec2e1f commit 35a8b72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project/terra_layer/views/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,9 @@ def get_layer_structure(self):
)
baselayers = [
{
"id": baselayer.id,
"label": baselayer.name,
"url": self.request.build_absolute_uri(baselayer.url),
"id": baselayer.id
"url": self.request.build_absolute_uri(baselayer.url)
if baselayer.base_layer_type != "mapbox"
else baselayer.url,
}
Expand Down

0 comments on commit 35a8b72

Please sign in to comment.