You've already forked AstralRinth
forked from didirus/AstralRinth
feat(frontend): Sort collections by creation date on user pages and dashboard (#3286)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user