diff client/src/components/fairway/Fairwayprofile.vue @ 4808:db450fcc8ed7

client: add title for the exported image
author Fadi Abbud <fadi.abbud@intevation.de>
date Tue, 29 Oct 2019 11:04:14 +0100
parents 7cd40008124b
children b6d8570b8480
line wrap: on
line diff
--- a/client/src/components/fairway/Fairwayprofile.vue	Mon Oct 28 16:38:23 2019 +0100
+++ b/client/src/components/fairway/Fairwayprofile.vue	Tue Oct 29 11:04:14 2019 +0100
@@ -91,7 +91,7 @@
             <translate>Export to PDF</translate>
           </button>
           <a
-            @click="downloadImage('fairwaypng')"
+            @click="downloadImage('fairwaypng', title)"
             id="fairwaypng"
             class="btn btn-sm btn-info text-white d-block w-100 mt-2"
             :download="`${fileName}.png`"