Skip to content

Commit

Permalink
Fix links to assets in previous releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
vikpe committed Jul 23, 2023
1 parent 4b0201c commit b86d6e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/components/PreviousReleases.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ export default {
}
}
const is
</script>

<template>
Expand All @@ -28,7 +30,7 @@ export default {
<td valign="top">{{ release.name }}</td>
<td valign="top">{{ release.created_at.substring(0, "2020-01-01".length) }}</td>
<td valign="top">
<span v-for="asset in release.assets.filter(f => f.name.endsWith('.zip'))">
<span v-for="asset in release.assets.filter(f => f.browser_download_url.includes('releases/download'))">
<a :href="asset.browser_download_url">{{ asset.name }}</a> ({{ Math.round(asset.size / 1024) }} kb)<br />
</span>
</td>
Expand Down

0 comments on commit b86d6e1

Please sign in to comment.