forked from ddrilling/asb_cloud_front
Файл страницы Наработки АКБ переименован
This commit is contained in:
parent
08fcf2736e
commit
65b9ede580
@ -8,7 +8,7 @@ import { makeItem, PrivateMenu } from '@components/PrivateMenu'
|
|||||||
|
|
||||||
export const menuItems = [
|
export const menuItems = [
|
||||||
makeItem('Карта', 'map', [], <HeatMapOutlined />),
|
makeItem('Карта', 'map', [], <HeatMapOutlined />),
|
||||||
makeItem('Наработка АКБ', 'statistics', [], <FundOutlined />),
|
makeItem('Наработка АКБ', 'statistics_adw', [], <FundOutlined />),
|
||||||
]
|
]
|
||||||
|
|
||||||
export const DepositNavigationMenu = memo((props) => (
|
export const DepositNavigationMenu = memo((props) => (
|
||||||
|
@ -9,7 +9,7 @@ import { NoAccessComponent, withPermissions } from '@utils'
|
|||||||
import { DepositNavigationMenu, menuItems } from './DepositNavigationMenu'
|
import { DepositNavigationMenu, menuItems } from './DepositNavigationMenu'
|
||||||
|
|
||||||
const Map = lazy(() => import('./Map'))
|
const Map = lazy(() => import('./Map'))
|
||||||
const GeneralSubsystemStatistics = lazy(() => import('./GeneralSubsystemStatistics'))
|
const StatisticsADW = lazy(() => import('./StatisticsADW'))
|
||||||
|
|
||||||
const breadcrumb = makeMenuBreadcrumbItemsRender(menuItems, /^\/deposit\/[^\/#?]+\//)
|
const breadcrumb = makeMenuBreadcrumbItemsRender(menuItems, /^\/deposit\/[^\/#?]+\//)
|
||||||
|
|
||||||
@ -64,7 +64,7 @@ const Deposit = memo(() => {
|
|||||||
<Route path={'*'} element={<NoAccessComponent />} />
|
<Route path={'*'} element={<NoAccessComponent />} />
|
||||||
|
|
||||||
<Route path={'map'} element={<Map />} />
|
<Route path={'map'} element={<Map />} />
|
||||||
<Route path={'statistics'} element={<GeneralSubsystemStatistics />} />
|
<Route path={'statistics_adw'} element={<StatisticsADW />} />
|
||||||
</Route>
|
</Route>
|
||||||
</Routes>
|
</Routes>
|
||||||
</DepositContext.Provider>
|
</DepositContext.Provider>
|
||||||
|
Loading…
Reference in New Issue
Block a user