diff --git a/src/config/translations.json b/src/config/translations.json index 74f0a09..2572ec6 100644 --- a/src/config/translations.json +++ b/src/config/translations.json @@ -11,6 +11,7 @@ "Add features from map": "Add features from map", "Add File layer": "Add File layer", "Add geocaches to map": "Add geocaches to map", + "Add log": "Add log", "Add to geotrip": "Add to geotrip", "Add WMS layer": "Add WMS layer", "Added": "Added", @@ -144,6 +145,7 @@ "Search": "Search", "Search and display coordinates in WGS, L-Est, UTM and MGRS system.": "Search and display coordinates in WGS, L-Est, UTM and MGRS system.", "Search coordinates": "Search coordinates", + "Select geocache from map": "Select geocache from map", "Select routing profile or disable routing": "Select routing profile or disable routing", "Set a method, how cache import works.": "Set a method, how cache import works.", "Settings": "Settings", @@ -201,6 +203,7 @@ "Add features from map": "Lisa kaardilt objekte", "Add File layer": "Lisa fail", "Add geocaches to map": "Lisa aarded kaardile", + "Add log": "Lisa logi", "Add to geotrip": "Lisa geotuuri", "Add WMS layer": "Lisa WMS", "Added": "Lisatud", @@ -334,6 +337,7 @@ "Search": "Otsi", "Search and display coordinates in WGS, L-Est, UTM and MGRS system.": "Otsi ja kuva koordinaate WGS, L-Est, UTM ja MGRS koordinaatsüsteemides.", "Search coordinates": "Otsi koordinaate", + "Select geocache from map": "Vali kaardilt aare", "Select routing profile or disable routing": "Vali teekonna profiil või keela teekond", "Set a method, how cache import works.": "Vali meetod, kuidas aardeid imporditakse.", "Settings": "Seaded", diff --git a/src/geop/components/geocache/GeocacheInfo.js b/src/geop/components/geocache/GeocacheInfo.js index ee10831..5b56ead 100644 --- a/src/geop/components/geocache/GeocacheInfo.js +++ b/src/geop/components/geocache/GeocacheInfo.js @@ -32,7 +32,7 @@ class GeocacheInfo extends Component { this.state.layer = layer }) onchange('popup/show', ({ layerId, feature }) => { - if (this.state.layer && this.state.layer.get('id') === layerId) { + if (this.state.layer && this.state.layer.get('id') === layerId && feature.get('isCache')) { this.state.cache = feature this.render() }