From 63ee3c7b9fc83c10a0402cd94995ab2d3fda2952 Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Sun, 28 Sep 2025 14:24:40 +0200 Subject: [PATCH] Removed Supabase --- components/EntityEdit.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/EntityEdit.vue b/components/EntityEdit.vue index 0e1469c..d9c87f7 100644 --- a/components/EntityEdit.vue +++ b/components/EntityEdit.vue @@ -48,7 +48,6 @@ defineShortcuts({ }, }) -const supabase = useSupabaseClient() const router = useRouter() const route = useRoute() const dataStore = useDataStore() @@ -150,9 +149,9 @@ const loadOptions = async () => { for await(const option of optionsToLoad) { if(option.option === "countrys") { - loadedOptions.value[option.option] = (await supabase.from("countrys").select()).data + loadedOptions.value[option.option] = useEntities("countrys").selectSpecial() } else if(option.option === "units") { - loadedOptions.value[option.option] = (await supabase.from("units").select()).data + loadedOptions.value[option.option] = useEntities("units").selectSpecial() } else { loadedOptions.value[option.option] = (await useEntities(option.option).select())