Skip to content

Commit

Permalink
feat: sort seasons from newest to oldest (#973)
Browse files Browse the repository at this point in the history
Signed-off-by: James Harris <[email protected]>
  • Loading branch information
wopian authored Apr 26, 2024
1 parent 9cb8dcd commit 466f2bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/layouts/SuperLeagueLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</script>

<template>
<section v-for="[season, events] in seasons" :key="season">
<section v-for="[season, events] in seasons.reverse()" :key="season">
<h2>{{ formatParamToTitleCase(season) }}</h2>
<div v-if="events.events" :class="$style.cardContainer">
<div :class="$style.card">
Expand Down

0 comments on commit 466f2bb

Please sign in to comment.