Skip to content

Commit 4a56994

Browse files
authored
Update [id].md
1 parent 914f7e9 commit 4a56994

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/en/repository/[name]/[id].md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const openUrl = (url) => {
3434
{{ module.description }}
3535

3636
<div :class="$style.moduleActions">
37-
<a v-if="module.versions" :href="module.versions[0].zipUrl" target="_blank" :class="[$style.VPButton, $style.VPButton_medium, $style.VPButton_brand]">Download latest version</a>
37+
<a v-if="module.versions" :href="module.versions.toReversed()[0].zipUrl" target="_blank" :class="[$style.VPButton, $style.VPButton_medium, $style.VPButton_brand]">Download latest version</a>
3838
<a v-if="module.support" :href="module.support" target="_blank" :class="[$style.VPButton, $style.VPButton_medium, $style.VPButton_alt]">Support</a>
3939
</div>
4040

@@ -50,7 +50,7 @@ const openUrl = (url) => {
5050

5151
## Versions
5252

53-
<ul v-for="(version, index) in module.versions">
53+
<ul v-for="(version, index) in module.versions.toReversed()">
5454
<li>
5555
<a :href="version.zipUrl" :key="index">{{ version.version }} ({{ version.versionCode }})</a>
5656
</li>
@@ -173,4 +173,4 @@ const openUrl = (url) => {
173173
margin: 4px;
174174
transform: translateY(-2px);
175175
}
176-
</style>
176+
</style>

0 commit comments

Comments
 (0)