Changes
This commit is contained in:
@@ -4,10 +4,17 @@ const props = defineProps({
|
||||
type: Object,
|
||||
required: true,
|
||||
default: {}
|
||||
},
|
||||
inShow: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<span>{{props.row.customer ? props.row.customer.name : ''}}</span>
|
||||
<div v-if="props.row.customer">
|
||||
<nuxt-link v-if="props.inShow" :to="`/standardEntity/customers/show/${props.row.customer.id}`">{{props.row.customer ? props.row.customer.name : ''}}</nuxt-link>
|
||||
<span v-else>{{props.row.customer ? props.row.customer.name : ''}}</span>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user