Skip to content

Commit

Permalink
#91 detailed cache information and logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihkel Oviir committed Apr 29, 2020
1 parent 2334576 commit e926ae6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/config/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/geop/components/geocache/GeocacheInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit e926ae6

Please sign in to comment.