diff --git a/pages/_type/_id.vue b/pages/_type/_id.vue
index bca758ab63..b29459cd35 100644
--- a/pages/_type/_id.vue
+++ b/pages/_type/_id.vue
@@ -332,12 +332,6 @@
:href="findPrimary(version).url"
class="download"
:title="`Download ${version.name}`"
- @click.prevent="
- downloadFile(
- findPrimary(version).hashes.sha1,
- findPrimary(version).url
- )
- "
>
@@ -419,7 +413,7 @@
Project ID
-
@@ -679,14 +673,6 @@ export default {
return file
},
- async downloadFile(hash, url) {
- await this.$axios.get(`version_file/${hash}/download`)
-
- const elem = document.createElement('a')
- elem.download = hash
- elem.href = url
- elem.click()
- },
async clearMessage() {
this.$nuxt.$loading.start()
@@ -987,6 +973,10 @@ export default {
.value {
width: 50%;
text-transform: capitalize;
+
+ &.lowercase {
+ text-transform: none;
+ }
}
.uppercase {
text-transform: uppercase;
diff --git a/pages/_type/_id/version.vue b/pages/_type/_id/version.vue
index 452a4dd964..a50d5a7bd7 100644
--- a/pages/_type/_id/version.vue
+++ b/pages/_type/_id/version.vue
@@ -86,9 +86,6 @@
:href="primaryFile.url"
class="action iconified-button brand-button-colors"
:title="`Download ${primaryFile.filename}`"
- @click.prevent="
- $parent.downloadFile(primaryFile.hashes.sha1, primaryFile.url)
- "
>
Download
@@ -353,6 +350,9 @@
Version {{ dependency.version.version_number }} is
{{ dependency.dependency_type }}
+
+ {{ dependency.dependency_type }}
+