fix: set contact as primary not working
This commit is contained in:
parent
01cbdb9ba9
commit
c9f3fc8e6d
@ -607,7 +607,7 @@ function contactOptions(contact) {
|
|||||||
options.push({
|
options.push({
|
||||||
label: __('Set as Primary Contact'),
|
label: __('Set as Primary Contact'),
|
||||||
icon: h(SuccessIcon, { class: 'h-4 w-4' }),
|
icon: h(SuccessIcon, { class: 'h-4 w-4' }),
|
||||||
onClick: () => setPrimaryContact(contact),
|
onClick: () => setPrimaryContact(contact.name),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -522,7 +522,7 @@ function contactOptions(contact) {
|
|||||||
options.push({
|
options.push({
|
||||||
label: __('Set as Primary Contact'),
|
label: __('Set as Primary Contact'),
|
||||||
icon: h(SuccessIcon, { class: 'h-4 w-4' }),
|
icon: h(SuccessIcon, { class: 'h-4 w-4' }),
|
||||||
onClick: () => setPrimaryContact(contact),
|
onClick: () => setPrimaryContact(contact.name),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user