From 30a658b083c82d583e7f4f226c774f05aafb53ff Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Wed, 29 Jan 2025 18:12:02 +0100 Subject: [PATCH] added Tenant ordering --- stores/profile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stores/profile.js b/stores/profile.js index e9ac524..a0c239f 100644 --- a/stores/profile.js +++ b/stores/profile.js @@ -113,7 +113,7 @@ export const useProfileStore = defineStore('profile', () => { } async function fetchTenants () { - tenants.value = (await supabase.from("tenants").select()).data + tenants.value = (await supabase.from("tenants").select().order("id",{ascending: true})).data } const getOwnProfile = computed(() => {