fix: make assigned_to a button if there is only one assignee
This commit is contained in:
parent
929fd98f13
commit
da406b4e01
@ -31,10 +31,12 @@
|
|||||||
>
|
>
|
||||||
<Button icon="more-horizontal" />
|
<Button icon="more-horizontal" />
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
<MultipleAvatar
|
<component :is="deal.data._assignedTo?.length == 1 ? 'Button' : 'div'">
|
||||||
:avatars="deal.data._assignedTo"
|
<MultipleAvatar
|
||||||
@click="showAssignmentModal = true"
|
:avatars="deal.data._assignedTo"
|
||||||
/>
|
@click="showAssignmentModal = true"
|
||||||
|
/>
|
||||||
|
</component>
|
||||||
<Dropdown :options="statusOptions('deal', updateField)">
|
<Dropdown :options="statusOptions('deal', updateField)">
|
||||||
<template #default="{ open }">
|
<template #default="{ open }">
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
@ -31,10 +31,12 @@
|
|||||||
>
|
>
|
||||||
<Button icon="more-horizontal" />
|
<Button icon="more-horizontal" />
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
<MultipleAvatar
|
<component :is="lead.data._assignedTo?.length == 1 ? 'Button' : 'div'">
|
||||||
:avatars="lead.data._assignedTo"
|
<MultipleAvatar
|
||||||
@click="showAssignmentModal = true"
|
:avatars="lead.data._assignedTo"
|
||||||
/>
|
@click="showAssignmentModal = true"
|
||||||
|
/>
|
||||||
|
</component>
|
||||||
<Dropdown :options="statusOptions('lead', updateField)">
|
<Dropdown :options="statusOptions('lead', updateField)">
|
||||||
<template #default="{ open }">
|
<template #default="{ open }">
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user