From 719b395b7b78bc6afd21bfdbfc13637dec6eff69 Mon Sep 17 00:00:00 2001 From: worldwidepixel <58098422+worldwidepixel@users.noreply.github.com> Date: Fri, 21 Feb 2025 10:41:25 -0800 Subject: [PATCH] feat(frontend): Sort collections by creation date on user pages and dashboard (#3286) --- .../frontend/src/pages/dashboard/collections.vue | 4 +++- apps/frontend/src/pages/user/[id].vue | 16 ++++++++++++---- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/apps/frontend/src/pages/dashboard/collections.vue b/apps/frontend/src/pages/dashboard/collections.vue index a231062b9..11c86c38e 100644 --- a/apps/frontend/src/pages/dashboard/collections.vue +++ b/apps/frontend/src/pages/dashboard/collections.vue @@ -49,7 +49,9 @@
-
{{ collection.projects?.length || 0 }} projects
+
+ + {{ + `${$formatNumber(collection.projects?.length || 0, false)} project${(collection.projects?.length || 0) !== 1 ? "s" : ""}` + }} +