From c3246a3a61bfe196c2d7b6c43a58b1e5e3c951d5 Mon Sep 17 00:00:00 2001 From: MinerAle Date: Sun, 3 Aug 2025 11:03:46 +0200 Subject: [PATCH] fix: update default sorting order to 'newest' in links component --- app/components/dashboard/links/Index.vue | 2 +- app/components/dashboard/links/Sort.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/dashboard/links/Index.vue b/app/components/dashboard/links/Index.vue index 849e9e495..03a11e28e 100644 --- a/app/components/dashboard/links/Index.vue +++ b/app/components/dashboard/links/Index.vue @@ -8,7 +8,7 @@ let cursor = '' let listComplete = false let listError = false -const sortBy = ref('az') +const sortBy = ref('newest') const displayedLinks = computed(() => { const sorted = [...links.value] diff --git a/app/components/dashboard/links/Sort.vue b/app/components/dashboard/links/Sort.vue index d7196a5b6..421182f30 100644 --- a/app/components/dashboard/links/Sort.vue +++ b/app/components/dashboard/links/Sort.vue @@ -4,7 +4,7 @@ import { ArrowUpDown } from 'lucide-vue-next' defineProps({ sortBy: { type: String, - default: 'az', + default: 'newest', }, })