Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Commit

Permalink
Merge tag '2.29.2' into geotrek_UX_dev_mid_2018
Browse files Browse the repository at this point in the history
2.29.2
  • Loading branch information
LePetitTim committed Oct 28, 2020
2 parents dd113e7 + a2ddd3e commit 31d0c28
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
16 changes: 12 additions & 4 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,29 @@
2.29.1-ux3 / 2020-10-20
===================
2.29.2-ux / 2020-10-28
======================

**Bug fixes**

* Do not show empty square without properties on extra layers


2.29.1-ux3 / 2020-10-27
=======================

**Enhancements**

* No pictogram trek's label, add default pictogram


2.29.1-ux2 / 2020-10-20
===================
=======================

**Bug fixes**

* No pictogram trek's label no filter


2.29.1-ux / 2020-10-20
===================
======================

**Bug fixes**

Expand Down
2 changes: 1 addition & 1 deletion npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "geotrekrando",
"version": "2.29.1-ux3",
"version": "2.29.2-ux",
"description": "Geotrek rando public portal of Geotrek",
"author": "Makina Corpus",
"main": "src/app/app.js",
Expand Down
2 changes: 1 addition & 1 deletion src/app/map/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -1752,7 +1752,7 @@ function layersService ($http, globalSettings, settingsFactory, translationServi
},
onEachFeature: function (feature, layer) {
var markup = [], prop;
if (layer && layer.feature && layer.feature.properties) {
if (layer && layer.feature && layer.feature.properties && (layer.feature.properties.name || layer.feature.properties.photo_url || layer.feature.properties.type || layer.feature.properties.website)) {

prop = layer.feature.properties;

Expand Down

0 comments on commit 31d0c28

Please sign in to comment.