From 8e21cbd51ce8920a259cd64e3688fb8bcc28df1b Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Mon, 31 Jul 2023 10:06:49 -0700 Subject: [PATCH] fix: changes default direction to desc --- assets/components/ContainerTable.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/components/ContainerTable.vue b/assets/components/ContainerTable.vue index b69f7644..9f8e51a2 100644 --- a/assets/components/ContainerTable.vue +++ b/assets/components/ContainerTable.vue @@ -68,7 +68,7 @@ const { containers, perPage = 15 } = defineProps<{ perPage?: number; }>(); const sortField: Ref = ref("created"); -const direction = ref<1 | -1>(1); +const direction = ref<1 | -1>(-1); const sortedContainers = computedWithControl( () => [containers.length, sortField.value, direction.value], () => {