reports update
This commit is contained in:
@@ -156,10 +156,10 @@ const HeaderContent = () => {
|
||||
}}
|
||||
>
|
||||
<ListItemButton
|
||||
selected={location.pathname === '/orders/create'}
|
||||
selected={location.pathname === 'nearle/orders/create'}
|
||||
onClick={() => {
|
||||
// console.log(const location = useLocation();)
|
||||
navigate('/orders/create');
|
||||
navigate('nearle/orders/create');
|
||||
handleClickAway();
|
||||
}}
|
||||
>
|
||||
@@ -175,10 +175,10 @@ const HeaderContent = () => {
|
||||
/>
|
||||
</ListItemButton>
|
||||
<ListItemButton
|
||||
selected={location.pathname === '/orders/create'}
|
||||
selected={location.pathname === 'nearle/orders/create'}
|
||||
onClick={() => {
|
||||
// console.log(const location = useLocation();)
|
||||
navigate('/orders/createorders');
|
||||
navigate('nearle/orders/createorders');
|
||||
handleClickAway();
|
||||
}}
|
||||
>
|
||||
@@ -201,7 +201,7 @@ const HeaderContent = () => {
|
||||
}} >
|
||||
<ListItemText
|
||||
primary={
|
||||
<Grid container>
|
||||
<Grid container>
|
||||
<ListItemIcon sx={{ mr: 1, fontSize: '20px' }}>
|
||||
<CustomerServiceOutlined />
|
||||
</ListItemIcon>
|
||||
@@ -212,9 +212,9 @@ const HeaderContent = () => {
|
||||
/>
|
||||
</ListItemButton> */}
|
||||
<ListItemButton
|
||||
selected={location.pathname === '/customers/create'}
|
||||
selected={location.pathname === 'nearle/customers/create'}
|
||||
onClick={() => {
|
||||
navigate('/customers/create');
|
||||
navigate('nearle/customers/create');
|
||||
handleClickAway();
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user