mirror of
https://github.com/inventree/InvenTree.git
synced 2025-10-23 17:37:38 +00:00
@@ -1,12 +1,5 @@
|
|||||||
import { t } from '@lingui/core/macro';
|
import { t } from '@lingui/core/macro';
|
||||||
import {
|
import { Container, Drawer, Flex, Group, Space } from '@mantine/core';
|
||||||
Container,
|
|
||||||
Drawer,
|
|
||||||
Flex,
|
|
||||||
Group,
|
|
||||||
ScrollArea,
|
|
||||||
Space
|
|
||||||
} from '@mantine/core';
|
|
||||||
import { useViewportSize } from '@mantine/hooks';
|
import { useViewportSize } from '@mantine/hooks';
|
||||||
import { useEffect, useMemo, useRef, useState } from 'react';
|
import { useEffect, useMemo, useRef, useState } from 'react';
|
||||||
|
|
||||||
@@ -183,7 +176,6 @@ function DrawerContent({ closeFunc }: Readonly<{ closeFunc?: () => void }>) {
|
|||||||
</Group>
|
</Group>
|
||||||
<Space h='xs' />
|
<Space h='xs' />
|
||||||
<Container className={classes.layoutContent} p={0}>
|
<Container className={classes.layoutContent} p={0}>
|
||||||
<ScrollArea h={scrollHeight} type='always' offsetScrollbars>
|
|
||||||
<MenuLinks
|
<MenuLinks
|
||||||
title={t`Navigation`}
|
title={t`Navigation`}
|
||||||
links={menuItemsNavigate}
|
links={menuItemsNavigate}
|
||||||
@@ -209,7 +201,6 @@ function DrawerContent({ closeFunc }: Readonly<{ closeFunc?: () => void }>) {
|
|||||||
) : (
|
) : (
|
||||||
<></>
|
<></>
|
||||||
)}
|
)}
|
||||||
</ScrollArea>
|
|
||||||
</Container>
|
</Container>
|
||||||
<div ref={ref}>
|
<div ref={ref}>
|
||||||
<Space h='md' />
|
<Space h='md' />
|
||||||
|
Reference in New Issue
Block a user