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