Removed Driver from Vehicles until Users is built
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user