Skip to content

Commit

Permalink
group layers do not check the showOnMinimap property for display on t…
Browse files Browse the repository at this point in the history
…he minimap (#751)

Co-authored-by: viatkinviatkin <svyatkin@skyori.ru>
  • Loading branch information
viatkinviatkin and viatkinviatkin committed Jun 1, 2023
1 parent 87a5738 commit 7533da2
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions addon/templates/components/flexberry-layers.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
}}
{{/if}}
{{else}}
{{#if layerModel.showOnMinimap}}
{{#if (eq layerModel.type "group")}}
{{#layers/group-layer
leafletMap=leafletMap
Expand All @@ -46,16 +45,17 @@
}}
{{/layers/group-layer}}
{{else}}
{{component (concat "layers/" layerModel.type "-layer")
leafletMap=leafletMap
leafletContainer=leafletContainer
layerModel=layerModel
index=layerModel.index
visibility=layerModel.visibility
dynamicProperties=layerModel.settingsAsObject
}}
{{#if layerModel.showOnMinimap}}
{{component (concat "layers/" layerModel.type "-layer")
leafletMap=leafletMap
leafletContainer=leafletContainer
layerModel=layerModel
index=layerModel.index
visibility=layerModel.visibility
dynamicProperties=layerModel.settingsAsObject
}}
{{/if}}
{{/if}}
{{/if}}
{{/if}}
{{/if}}
{{/each}}
Expand Down

0 comments on commit 7533da2

Please sign in to comment.