remove unnecessary stuff
This commit is contained in:
parent
de231145d4
commit
b53286672a
@ -1,56 +1,13 @@
|
||||
import React, {useState} from "react";
|
||||
import React, { useState } from "react";
|
||||
import Breadcrumb from "../../components/common/Breadcrumb";
|
||||
import IconButton from "../../components/common/IconButton";
|
||||
import GlobalModel from "../../components/common/GlobalModel";
|
||||
import ManageDirectory from "../../components/Directory/ManageDirectory";
|
||||
|
||||
const Directory = () =>
|
||||
{
|
||||
const [ isOpenModal, setIsOpenModal ] = useState( false )
|
||||
const closedModel = () => setIsOpenModal( false )
|
||||
const Directory = () => {
|
||||
const [isOpenModal, setIsOpenModal] = useState(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 (
|
||||
<div className="container-xxl flex-grow-1 container-p-y">
|
||||
<Breadcrumb
|
||||
@ -61,7 +18,7 @@ const Directory = () =>
|
||||
></Breadcrumb>
|
||||
|
||||
<GlobalModel isOpen={isOpenModal} closeModal={closedModel}>
|
||||
<ManageDirectory/>
|
||||
<ManageDirectory />
|
||||
</GlobalModel>
|
||||
|
||||
<div className="row">
|
||||
@ -71,7 +28,6 @@ const Directory = () =>
|
||||
type="search"
|
||||
className="form-control form-control-sm"
|
||||
placeholder="Search projects..."
|
||||
|
||||
/>
|
||||
</div>
|
||||
<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>
|
||||
</div>
|
||||
</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
|
||||
size={12}
|
||||
iconClass="bx bx-phone"
|
||||
@ -119,7 +76,6 @@ const Directory = () =>
|
||||
size={12}
|
||||
iconClass="bx bxs-grid-alt"
|
||||
color="info"
|
||||
|
||||
/>
|
||||
<span>Organization</span>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user