File tree Expand file tree Collapse file tree 2 files changed +19
-17
lines changed Expand file tree Collapse file tree 2 files changed +19
-17
lines changed Original file line number Diff line number Diff line change @@ -77,21 +77,21 @@ const SitesView: FunctionComponent<Props> = (props) => {
77
77
dispatch ( fetchSites ( page , count ) )
78
78
} ,
79
79
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
+ // }]
95
95
}
96
96
97
97
useEffect ( ( ) => {
@@ -102,7 +102,8 @@ const SitesView: FunctionComponent<Props> = (props) => {
102
102
< Grid item xs = { 12 } style = { { marginRight : '30px' } } >
103
103
< Paper className = { classes . paper } >
104
104
< 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 } } />
106
107
{ /* <SelectInput value="Action" menuOptions={selectInputMenu} style={{ width: '122px' }} /> */ }
107
108
< CustomMenuItem to = '/sites/add' >
108
109
< CustomButton style = { { width : '122px' , fontSize : '12px' , height : '39px' , padding : 0 } } >
Original file line number Diff line number Diff line change @@ -115,7 +115,8 @@ const DevicesView: FunctionComponent<Props> = (props) => {
115
115
< Grid item xs style = { { height : "100%" } } >
116
116
< Paper className = { classes . paper } >
117
117
< 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 } } />
119
120
< Box display = "flex" >
120
121
{ /* <SelectInput style={{ marginRight: '26px', width: '122px', height: '39px' }} value = {""} defaultValue="All Sites" menuOptions={[]} /> */ }
121
122
{ /* <SelectInput style={{ marginRight: '26px', width: '122px', height: '39px' }} value = {""} defaultValue="All Status" menuOptions={[]} /> */ }
You can’t perform that action at this time.
0 commit comments