Mercurial > gemma
comparison client/src/components/Pdftool.vue @ 5312:11e013b8b1a9 zpg-exception
Client: Fix one condition (zpg_exception)
* This corrects using the "zpg_exception" value of the desired survey.
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Thu, 03 Jun 2021 12:14:12 +0200 |
parents | 660147046ddd |
children | ef07b81d3305 |
comparison
equal
deleted
inserted
replaced
5311:72d3b8321ed0 | 5312:11e013b8b1a9 |
---|---|
315 if (this.selectedSurvey) { | 315 if (this.selectedSurvey) { |
316 soundingInfo = { | 316 soundingInfo = { |
317 number: response.data.numberMatched || 0, | 317 number: response.data.numberMatched || 0, |
318 feature: | 318 feature: |
319 response.data.features.filter( | 319 response.data.features.filter( |
320 f => f.properties.data_info === this.selectedSurvey.data_info | 320 f => f.properties.date_info === this.selectedSurvey.date_info |
321 )[0] || {} | 321 )[0] || {} |
322 }; | 322 }; |
323 } else { | 323 } else { |
324 soundingInfo = { number: 0, feature: {} }; | 324 soundingInfo = { number: 0, feature: {} }; |
325 } | 325 } |