Commit ea9f1585 authored by Benjamin Fischer's avatar Benjamin Fischer

File2: fixed download triggering twice

parent 16fd4630
......@@ -29,7 +29,7 @@
</renamer>
<div class="actions">
<a @click="action('rename', {event: $event})"><i class="fa fa-pencil"></i><span>Rename</span></a>
<a @click="action('download', {event: $event})" :href="downloadLink" :download="data.name" target="_blank" v-el:download><i class="fa fa-download"></i><span>Download</span></a>
<a @click.prevent="action('download', {event: $event})" :href="downloadLink" :download="data.name" target="_blank" v-el:download><i class="fa fa-download"></i><span>Download</span></a>
<a @click="action('remove', {event: $event})"><i class="fa fa-trash"></i><span>Remove</span></a>
</div>
<div
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment