<script setup>
const props = defineProps({
  row: {
    type: Object,
    required: true,
    default: {}
  }
})

const profileStore = useProfileStore()

</script>

<template>
  <span v-if="props.row.driver">{{props.row.driver.id ? profileStore.getProfileById(props.row.driver.id).fullName : profileStore.getProfileById(props.row.driver).fullName}}</span>
</template>
