Fix downloading files on version pages not working

This commit is contained in:
Jai A
2021-05-11 20:23:26 -07:00
parent 0e338ef453
commit 63ed7a734b

View File

@@ -125,7 +125,7 @@
</div>
<a
:href="file.url"
@click.prevent="downloadFile(file.hashes.sha1, file.url)"
@click.prevent="$parent.downloadFile(file.hashes.sha1, file.url)"
>
<DownloadIcon />
</a>