Supabase Removals Frontend
This commit is contained in:
@@ -7,11 +7,9 @@ const props = defineProps({
|
||||
}
|
||||
})
|
||||
|
||||
const supabase = useSupabaseClient()
|
||||
|
||||
|
||||
let inventoryitems = await Promise.all(props.row.inventoryitems.map(async (i) => {
|
||||
return (await supabase.from("inventoryitems").select("id,name").eq("id",i).single()).data.name
|
||||
const item = await useEntities("inventoryitems").selectSingle(i)
|
||||
return item?.name
|
||||
}))
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user