This commit is contained in:
jcardus 2024-11-14 17:07:19 +00:00
parent f4cef90cf6
commit 736f6fd94c

View File

@ -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 />}