Skip to content

Commit cd60ae2

Browse files
committed
Merge remote-tracking branch 'origin/master' into archis-dev
2 parents bba4dd2 + a2784df commit cd60ae2

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/CustomDrawer.tsx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,12 @@ const mappableRoutes: MappableRoutesDictionary = {
179179
}, {
180180
title: 'Agreement',
181181
path: '/agreement'
182-
}, {
183-
title: 'Visitor\'s Form',
184-
path: '/visitorsform'
185-
}, {
182+
},
183+
// {
184+
// title: 'Visitor\'s Form',
185+
// path: '/visitorsform'
186+
// },
187+
{
186188
title: 'Notification',
187189
path: '/notification'
188190
}]
@@ -223,12 +225,12 @@ const CustomDrawer: FunctionComponent<Props> = (props) => {
223225
<Box style={{ height: '112px', paddingTop: '26px', textAlign: 'start', paddingLeft: '38px' }}>
224226
<img src={logo} style={{ height: '45px', width: '45px' }} />
225227
<Typography variant="h5" className={classes.logo} noWrap>
226-
AUROCHEMICALS
228+
AUROCHEMICALS
227229
</Typography>
228230
</Box>
229231
{/* <Divider /> */}
230232
<List>
231-
{Object.keys(mappableRoutes).filter(r=>(roles[r]===true)).map((key, index) => (
233+
{Object.keys(mappableRoutes).filter(r => (roles[r] === true)).map((key, index) => (
232234
mappableRoutes[key].children ? (
233235
<>
234236
{
@@ -268,7 +270,7 @@ const CustomDrawer: FunctionComponent<Props> = (props) => {
268270
</Collapse>
269271
</>
270272
) : (
271-
<ListItem style={{ marginBottom: '7px', paddingLeft: '38px'}} button key={key} component={NavLink} exact className="listItem"
273+
<ListItem style={{ marginBottom: '7px', paddingLeft: '38px' }} button key={key} component={NavLink} exact className="listItem"
272274
activeClassName={"active-navlink"} to={mappableRoutes[key].path}>
273275
<ListItemIcon className="white-text">{mappableRoutes[key].icon}</ListItemIcon>
274276
<ListItemText className={classes.listItemText} primary={key} />

0 commit comments

Comments
 (0)