fix: ensure reactive access to document title in Lead component
This commit is contained in:
parent
1a90876500
commit
1cebc1fed8
@ -362,7 +362,7 @@ const breadcrumbs = computed(() => {
|
|||||||
|
|
||||||
const title = computed(() => {
|
const title = computed(() => {
|
||||||
let t = doctypeMeta['CRM Lead']?.title_field || 'name'
|
let t = doctypeMeta['CRM Lead']?.title_field || 'name'
|
||||||
return doc?.[t] || props.leadId
|
return doc.value?.[t] || props.leadId
|
||||||
})
|
})
|
||||||
|
|
||||||
const statuses = computed(() => {
|
const statuses = computed(() => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user