Removed Driver from Vehicles until Users is built

This commit is contained in:
2025-09-19 15:35:17 +02:00
parent cc9f7e58ec
commit 3f4636d698
2 changed files with 4 additions and 5 deletions

View File

@@ -7,10 +7,9 @@ const props = defineProps({
} }
}) })
const profileStore = useProfileStore()
</script> </script>
<template> <template>
<span v-if="props.row.driver">{{props.row.driver ? profileStore.getProfileById(props.row.driver).fullName : props.row.driver}}</span> <span v-if="props.row.driver">{{props.row.driver ? "" : props.row.driver}}</span>
</template> </template>

View File

@@ -1200,14 +1200,14 @@ export const useDataStore = defineStore('data', () => {
label: "Typ", label: "Typ",
inputType: "text" inputType: "text"
}, },
{ /*{
key: "driver", key: "driver",
label: "Fahrer", label: "Fahrer",
inputType: "select", inputType: "select",
selectDataType: "profiles", selectDataType: "auth_users",
selectOptionAttribute: "fullName", selectOptionAttribute: "fullName",
component: driver component: driver
}, },*/
{ {
key: "tankSize", key: "tankSize",
label: "Tankvolumen", label: "Tankvolumen",