Skip to content

Commit

Permalink
fix: set contact as primary not working
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Sep 28, 2024
1 parent 01cbdb9 commit c9f3fc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/pages/Deal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ function contactOptions(contact) {
options.push({
label: __('Set as Primary Contact'),
icon: h(SuccessIcon, { class: 'h-4 w-4' }),
onClick: () => setPrimaryContact(contact),
onClick: () => setPrimaryContact(contact.name),
})
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/MobileDeal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ function contactOptions(contact) {
options.push({
label: __('Set as Primary Contact'),
icon: h(SuccessIcon, { class: 'h-4 w-4' }),
onClick: () => setPrimaryContact(contact),
onClick: () => setPrimaryContact(contact.name),
})
}
Expand Down

0 comments on commit c9f3fc8

Please sign in to comment.