Skip to content

Commit b3b586e

Browse files
committed
to do work
1 parent 4415039 commit b3b586e

File tree

2 files changed

+19
-17
lines changed

2 files changed

+19
-17
lines changed

src/features/SalesAndOrganisation/SitesView.tsx

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -77,21 +77,21 @@ const SitesView: FunctionComponent<Props> = (props) => {
7777
dispatch(fetchSites(page, count))
7878
},
7979
totalCount: pageCount,
80-
menuOptions: [{
81-
item: (id: any) => <CustomMenuItem to='/' onClick={() => console.log('check out ' + id)}>
82-
Delete
83-
</CustomMenuItem>
84-
},
85-
{
86-
item: (id: any) => <CustomMenuItem to='/' onClick={() => console.log('check out ' + id)}>
87-
Disable
88-
</CustomMenuItem>
89-
},
90-
{
91-
item: (id: any) => <CustomMenuItem to='/' onClick={() => console.log('check out ' + id)}>
92-
View Details
93-
</CustomMenuItem>
94-
}]
80+
// menuOptions: [{
81+
// item: (id: any) => <CustomMenuItem to='/' onClick={() => console.log('check out ' + id)}>
82+
// Delete
83+
// </CustomMenuItem>
84+
// },
85+
// {
86+
// item: (id: any) => <CustomMenuItem to='/' onClick={() => console.log('check out ' + id)}>
87+
// Disable
88+
// </CustomMenuItem>
89+
// },
90+
// {
91+
// item: (id: any) => <CustomMenuItem to='/' onClick={() => console.log('check out ' + id)}>
92+
// View Details
93+
// </CustomMenuItem>
94+
// }]
9595
}
9696

9797
useEffect(() => {
@@ -102,7 +102,8 @@ const SitesView: FunctionComponent<Props> = (props) => {
102102
<Grid item xs={12} style={{ marginRight: '30px' }}>
103103
<Paper className={classes.paper}>
104104
<Box display="flex" justifyContent="space-between" style={{ paddingTop: '38px', paddingBottom: '26px' }}>
105-
<SearchInput placeholder="Search Employees by name, email or mobile" width={354} style={{ paddingLeft: '30px' }} />
105+
<SearchInput hidden placeholder="Search Site by name" width={354} style={{ paddingLeft: '30px' }} />
106+
<div style={{width:353}}/>
106107
{/* <SelectInput value="Action" menuOptions={selectInputMenu} style={{ width: '122px' }} /> */}
107108
<CustomMenuItem to='/sites/add'>
108109
<CustomButton style={{ width: '122px', fontSize: '12px', height: '39px', padding: 0 }}>

src/features/Settings/DevicesView.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ const DevicesView: FunctionComponent<Props> = (props) => {
115115
<Grid item xs style={{ height: "100%" }}>
116116
<Paper className={classes.paper}>
117117
<Box display="flex" justifyContent="space-between" style={{ paddingTop: '37.5px', paddingBottom: '24px' }}>
118-
<SearchInput style={{ marginLeft: '28.5px', height: '39px' }} placeholder="Search Devices" width={400} />
118+
<SearchInput hidden style={{ marginLeft: '28.5px', height: '39px' }} placeholder="Search Devices" width={400} />
119+
<div style={{width:353}}/>
119120
<Box display="flex">
120121
{/* <SelectInput style={{ marginRight: '26px', width: '122px', height: '39px' }} value = {""} defaultValue="All Sites" menuOptions={[]} /> */}
121122
{/* <SelectInput style={{ marginRight: '26px', width: '122px', height: '39px' }} value = {""} defaultValue="All Status" menuOptions={[]} /> */}

0 commit comments

Comments
 (0)