mirror of
https://github.com/traccar/traccar-web.git
synced 2025-01-07 03:26:42 +08:00
reformat
This commit is contained in:
parent
f4cef90cf6
commit
736f6fd94c
@ -92,12 +92,12 @@ const PageLayout = ({ menu, breadcrumbs, children }) => {
|
||||
>
|
||||
<Toolbar>
|
||||
{!miniVariant && (
|
||||
<>
|
||||
<IconButton color="inherit" edge="start" sx={{ mr: 2 }} onClick={() => navigate('/')}>
|
||||
<ArrowBackIcon />
|
||||
</IconButton>
|
||||
<PageTitle breadcrumbs={breadcrumbs} />
|
||||
</>
|
||||
<>
|
||||
<IconButton color="inherit" edge="start" sx={{ mr: 2 }} onClick={() => navigate('/')}>
|
||||
<ArrowBackIcon />
|
||||
</IconButton>
|
||||
<PageTitle breadcrumbs={breadcrumbs} />
|
||||
</>
|
||||
)}
|
||||
<IconButton color="inherit" edge="start" sx={{ ml: miniVariant ? -2 : 'auto' }} onClick={toggleDrawer}>
|
||||
{miniVariant ? <ChevronRightIcon /> : <ChevronLeftIcon />}
|
||||
|
Loading…
Reference in New Issue
Block a user