comparison client/src/components/fairway/AvailableFairwayDepth.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 7de099c4824c
children b6d8570b8480
comparison
equal deleted inserted replaced
4807:7cd40008124b 4808:db450fcc8ed7
40 :download="`${fileName}.csv`" 40 :download="`${fileName}.csv`"
41 class="mt-2 btn btn-sm btn-info w-100" 41 class="mt-2 btn btn-sm btn-info w-100"
42 ><translate>Download CSV</translate></a 42 ><translate>Download CSV</translate></a
43 > 43 >
44 <a 44 <a
45 @click="downloadImage('AFDpng')" 45 @click="downloadImage('AFDpng', title)"
46 id="AFDpng" 46 id="AFDpng"
47 class="btn btn-sm btn-info text-white d-block w-100 mt-2" 47 class="btn btn-sm btn-info text-white d-block w-100 mt-2"
48 :download="`${fileName}.png`" 48 :download="`${fileName}.png`"
49 > 49 >
50 <translate>Download Image</translate> 50 <translate>Download Image</translate>