Skip to content

Commit 8058c4b

Browse files
Fix sorting and anchor issues
1 parent 5243cf1 commit 8058c4b

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

pages/tft-damage-skins/index.vue

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ import usePagination from '~/composables/usePagination';
3737
3838
const { client } = useClient();
3939
const { currentLocale } = useLocale();
40-
const getTftDamageSkins = async () => (await client.tftDamageSkins.listAsync({ locale: currentLocale.value, version: "latest"}));
40+
const getTftDamageSkins = async () => (await client.tftDamageSkins.listAsync({ locale: currentLocale.value, version: "latest"}))
41+
.sort((a, b) => a.itemId - b.itemId);
4142
4243
const query = ref("");
4344

pages/tft-items/index.vue

+2-4
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
<tbody>
1616
<tr v-for="tftItem in tftItems" :key="tftItem.guid" style="postion: relative;">
1717
<th scope="row">
18-
<NuxtLink class="text-decoration-none text-light stretched-link" :to="`/tft-items/overview/${tftItem.guid}`">
19-
{{ tftItem.guid }}
20-
</NuxtLink>
18+
<span class="text-decoration-none text-light fw-normal">{{ tftItem.guid }}</span>
2119
</th>
2220
<th scope="row">
2321
<img class="rounded" :src="tftItem.getSquareIcon('latest')" width="32" height="32" loading="lazy" onerror="this.onerror = null; this.src = '/clean-cuts/img/error.png'"/>
@@ -26,7 +24,7 @@
2624
<span class="text-decoration-none text-light fw-normal">{{ tftItem.name }}</span>
2725
</th>
2826
<th scope="row">
29-
{{ tftItem.nameId }}
27+
<span class="text-decoration-none text-light fw-normal">{{ tftItem.nameId }}</span>
3028
</th>
3129
</tr>
3230
</tbody>

0 commit comments

Comments
 (0)