fix: ensure reactive access to document title in Lead component
(cherry picked from commit 1cebc1fed858d3e54bace0e46731e4fd0aff0502)
This commit is contained in:
parent
3326230062
commit
1dfbcd1055
@ -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