diff client/src/components/fairway/AvailableFairwayDepth.vue @ 4805:7de099c4824c

client: image-export: improve hyperlink ids for download * use own id-names for <a> element for each diagram to avoid having same id name in dom in case of two diagrams on screen
author Fadi Abbud <fadi.abbud@intevation.de>
date Mon, 28 Oct 2019 12:24:35 +0100
parents b3f65cff13e8
children db450fcc8ed7
line wrap: on
line diff
--- a/client/src/components/fairway/AvailableFairwayDepth.vue	Mon Oct 28 11:25:25 2019 +0100
+++ b/client/src/components/fairway/AvailableFairwayDepth.vue	Mon Oct 28 12:24:35 2019 +0100
@@ -42,8 +42,8 @@
             ><translate>Download CSV</translate></a
           >
           <a
-            @click="downloadImage"
-            id="downloadimage"
+            @click="downloadImage('AFDpng')"
+            id="AFDpng"
             class="btn btn-sm btn-info text-white d-block w-100 mt-2"
             :download="`${fileName}.png`"
           >