fix: Set as primary option is visible for primary contact
This commit is contained in:
parent
ff68bacd9f
commit
76ceada850
@ -212,7 +212,7 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex items-center">
|
<div class="flex items-center">
|
||||||
<Dropdown :options="contactOptions(contact.name)">
|
<Dropdown :options="contactOptions(contact)">
|
||||||
<Button
|
<Button
|
||||||
icon="more-horizontal"
|
icon="more-horizontal"
|
||||||
class="text-gray-600"
|
class="text-gray-600"
|
||||||
@ -567,9 +567,9 @@ const _contact = ref({})
|
|||||||
function contactOptions(contact) {
|
function contactOptions(contact) {
|
||||||
let options = [
|
let options = [
|
||||||
{
|
{
|
||||||
label: __('Delete'),
|
label: __('Remove'),
|
||||||
icon: 'trash-2',
|
icon: 'trash-2',
|
||||||
onClick: () => removeContact(contact),
|
onClick: () => removeContact(contact.name),
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user