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

<template>
  <div v-if="props.row.project">
    <nuxt-link v-if="props.inShow" :to="`/standardEntity/projects/show/${props.row.project.id}`">{{props.row.project ? props.row.project.name : ''}}</nuxt-link>
    <span v-else>{{props.row.project ? props.row.project.name : ''}}</span>
  </div></template>
