Skip to content

Commit 6190859

Browse files
committed
fix download filename
1 parent 6e1fc15 commit 6190859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/FileItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ onUnmounted(() => URL.revokeObjectURL(objectUrl.value));
6868
<a
6969
:class="{ secondary: !fileObj.isCompressed }"
7070
:disabled="!fileObj.isCompressed || undefined"
71+
:download="fileObj.file.name"
7172
:href="fileObj.isCompressed ? objectUrl : undefined"
7273
role="button"
73-
download
7474
>{{ t('translation.download') }}</a
7575
>
7676
<button

0 commit comments

Comments
 (0)