Mercurial > gemma
changeset 4476:c1a02623f043
client: AFD-Dialogue: remove comparison
* remove (showProfile) condition to commit the selected bottleneck in the store from this dialogue, this let pdftool detects the correct selected bottleneck to use for filename.
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Wed, 25 Sep 2019 11:35:00 +0200 |
parents | b74d98fc82a5 |
children | 3724298001f8 |
files | client/src/components/fairway/AvailableFairwayDepthDialogue.vue |
diffstat | 1 files changed, 4 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/fairway/AvailableFairwayDepthDialogue.vue Tue Sep 24 17:11:44 2019 +0200 +++ b/client/src/components/fairway/AvailableFairwayDepthDialogue.vue Wed Sep 25 11:35:00 2019 +0200 @@ -817,12 +817,10 @@ this.openLayersMap() .getLayer("BOTTLENECKS") .setVisible(true); - if (this.showProfiles) { - this.$store.dispatch( - "bottlenecks/setSelectedBottleneck", - this.selectedFairwayAvailabilityFeature.properties.name - ); - } + this.$store.dispatch( + "bottlenecks/setSelectedBottleneck", + this.selectedFairwayAvailabilityFeature.properties.name + ); } if (this.type === this.$options.STRETCH) { this.openLayersMap()