Merge pull request 'pramod_Bug-#391 : Click on Contact Name this Not Navigating to Details Page in Directory' (#176) from pramod_Bug-#391 into Feature_Directory
Reviewed-on: #176
This commit is contained in:
commit
fed6711ece
@ -23,7 +23,12 @@ const CardViewDirectory = ({
|
|||||||
>
|
>
|
||||||
<div className="card-body px-1 py-2 pb-0">
|
<div className="card-body px-1 py-2 pb-0">
|
||||||
<div className="d-flex justify-content-between">
|
<div className="d-flex justify-content-between">
|
||||||
<div className="d-flex align-items-center">
|
<div className={`d-flex align-items-center ${IsActive && "cursor-pointer"}`} onClick={() => {
|
||||||
|
if (IsActive) {
|
||||||
|
setIsOpenModalNote(true);
|
||||||
|
setOpen_contact(contact);
|
||||||
|
}
|
||||||
|
}}>
|
||||||
<Avatar
|
<Avatar
|
||||||
size="xs"
|
size="xs"
|
||||||
firstName={
|
firstName={
|
||||||
|
@ -90,7 +90,7 @@ const ListViewDirectory = ({
|
|||||||
|
|
||||||
<td className="px-2" style={{ width: "10%" }}>
|
<td className="px-2" style={{ width: "10%" }}>
|
||||||
<span className="badge badge-outline-secondary">
|
<span className="badge badge-outline-secondary">
|
||||||
{contact?.contactCategory?.name}
|
{contact?.contactCategory?.name || "Other"}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user