Fix Composing

This commit is contained in:
2025-10-06 15:51:40 +02:00
parent 4054d1acf8
commit 39820d7122
2 changed files with 4 additions and 6 deletions

View File

@@ -2,8 +2,6 @@
import { v4 as uuidv4 } from 'uuid';
const supabase = useSupabaseClient()
const props = defineProps({
item: {
type: Object,
@@ -15,8 +13,8 @@ const products = ref([])
const units = ref([])
const setup = async () => {
products.value = await useSupabaseSelect("products")
units.value = (await supabase.from("units").select()).data
products.value = await useEntities("products").select()
units.value = await useEntities("units").selectSpecial()
}
setup()

View File

@@ -15,8 +15,8 @@ const hourrates = ref([])
const units = ref([])
const setup = async () => {
hourrates.value = await useSupabaseSelect("hourrates")
units.value = (await supabase.from("units").select()).data
hourrates.value = await useEntities("hourrates").select()
units.value = await useEntities("units").selectSpecial()
}
setup()