remove unnecessary stuff
This commit is contained in:
parent
8c96edea17
commit
dbd84def0d
@ -4,53 +4,10 @@ import IconButton from "../../components/common/IconButton";
|
|||||||
import GlobalModel from "../../components/common/GlobalModel";
|
import GlobalModel from "../../components/common/GlobalModel";
|
||||||
import ManageDirectory from "../../components/Directory/ManageDirectory";
|
import ManageDirectory from "../../components/Directory/ManageDirectory";
|
||||||
|
|
||||||
const Directory = () =>
|
const Directory = () => {
|
||||||
{
|
const [isOpenModal, setIsOpenModal] = useState(false);
|
||||||
const [ isOpenModal, setIsOpenModal ] = useState( false )
|
const closedModel = () => setIsOpenModal(false);
|
||||||
const closedModel = () => setIsOpenModal( false )
|
|
||||||
|
|
||||||
const contacts = [
|
|
||||||
{
|
|
||||||
"userId": 1,
|
|
||||||
"firstName": "Krish",
|
|
||||||
"lastName": "Lee",
|
|
||||||
"phoneNumber": "123456",
|
|
||||||
"emailAddress": "krish.lee@learningcontainer.com",
|
|
||||||
"type":"Clinet"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userId": 2,
|
|
||||||
"firstName": "racks",
|
|
||||||
"lastName": "jacson",
|
|
||||||
"phoneNumber": "123456",
|
|
||||||
"emailAddress": "racks.jacson@learningcontainer.com",
|
|
||||||
"type":"Vendor"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userId": 3,
|
|
||||||
"firstName": "denial",
|
|
||||||
"lastName": "roast",
|
|
||||||
"phoneNumber": "33333333",
|
|
||||||
"emailAddress": "denial.roast@learningcontainer.com",
|
|
||||||
"type":"vendor"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userId": 4,
|
|
||||||
"firstName": "devid",
|
|
||||||
"lastName": "neo",
|
|
||||||
"phoneNumber": "222222222",
|
|
||||||
"emailAddress": "devid.neo@learningcontainer.com",
|
|
||||||
"type":"employee"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"userId": 5,
|
|
||||||
"firstName": "jone",
|
|
||||||
"lastName": "mac",
|
|
||||||
"phoneNumber": "111111111",
|
|
||||||
"emailAddress": "jone.mac@learningcontainer.com",
|
|
||||||
"type":"employee"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
return (
|
return (
|
||||||
<div className="container-xxl flex-grow-1 container-p-y">
|
<div className="container-xxl flex-grow-1 container-p-y">
|
||||||
<Breadcrumb
|
<Breadcrumb
|
||||||
@ -71,7 +28,6 @@ const Directory = () =>
|
|||||||
type="search"
|
type="search"
|
||||||
className="form-control form-control-sm"
|
className="form-control form-control-sm"
|
||||||
placeholder="Search projects..."
|
placeholder="Search projects..."
|
||||||
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-md-8 col-6 text-end flex-grow-1 mb-2 px-1">
|
<div className="col-md-8 col-6 text-end flex-grow-1 mb-2 px-1">
|
||||||
@ -103,7 +59,8 @@ const Directory = () =>
|
|||||||
<span>Email</span>
|
<span>Email</span>
|
||||||
</div>
|
</div>
|
||||||
</th>
|
</th>
|
||||||
<th className="mx-2"><div className="d-flex align-items-center m-0 p-0 gap-1">
|
<th className="mx-2">
|
||||||
|
<div className="d-flex align-items-center m-0 p-0 gap-1">
|
||||||
<IconButton
|
<IconButton
|
||||||
size={12}
|
size={12}
|
||||||
iconClass="bx bx-phone"
|
iconClass="bx bx-phone"
|
||||||
@ -119,7 +76,6 @@ const Directory = () =>
|
|||||||
size={12}
|
size={12}
|
||||||
iconClass="bx bxs-grid-alt"
|
iconClass="bx bxs-grid-alt"
|
||||||
color="info"
|
color="info"
|
||||||
|
|
||||||
/>
|
/>
|
||||||
<span>Organization</span>
|
<span>Organization</span>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user