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>
<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>

View File

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