Added some columnrenderings

Added InventoryitemGroups
Removed some stuff from dataStore
This commit is contained in:
2025-02-25 23:01:00 +01:00
parent f1e50f7c38
commit 96341185c0
10 changed files with 290 additions and 40 deletions

View File

@@ -0,0 +1,23 @@
<script setup>
const props = defineProps({
row: {
type: Object,
required: true,
default: {}
}
})
const supabase = useSupabaseClient()
let vehicles = await Promise.all(props.row.vehicles.map(async (i) => {
return (await supabase.from("vehicles").select("id,licensePlate").eq("id",i).single()).data.licensePlate
}))
</script>
<template>
<div v-if="props.row.vehicles">
{{props.row.vehicles ? vehicles.join(", ") : ''}}
</div>
</template>