1
0

feat(frontend): Sort collections by creation date on user pages and dashboard (#3286)

This commit is contained in:
worldwidepixel
2025-02-21 10:41:25 -08:00
committed by GitHub
parent 27fba4ba11
commit 719b395b7b
2 changed files with 15 additions and 5 deletions

View File

@@ -49,7 +49,9 @@
</div>
</nuxt-link>
<nuxt-link
v-for="collection in orderedCollections"
v-for="collection in orderedCollections.sort(
(a, b) => new Date(b.created) - new Date(a.created),
)"
:key="collection.id"
:to="`/collection/${collection.id}`"
class="universal-card recessed collection"