|
1 | 1 | import * as React from 'react'; |
2 | 2 | import { Route, Routes } from 'react-router-dom'; |
3 | | -import { Dashboard } from '@app/Dashboard/Dashboard'; |
4 | | -import { GeneralSettings } from '@app/Settings/General/GeneralSettings'; |
5 | | -import { ProfileSettings } from '@app/Settings/Profile/ProfileSettings'; |
| 3 | +// import { Dashboard } from '@app/Dashboard/Dashboard'; |
| 4 | +// import { GeneralSettings } from '@app/Settings/General/GeneralSettings'; |
| 5 | +// import { ProfileSettings } from '@app/Settings/Profile/ProfileSettings'; |
6 | 6 | import { NotFound } from '@app/NotFound/NotFound'; |
7 | 7 | import { TrustRootsPage } from './Trust/TrustRoots/TrustRootsPage'; |
8 | 8 | import { TrustOverview } from './Trust/Overview/TrustOverview'; |
9 | | -import { ArtifactsPage } from './Artifacts/ArtifactsPage'; |
| 9 | +// import { ArtifactsPage } from './Artifacts/ArtifactsPage'; |
10 | 10 | import { CertificatesPage } from './Trust/Certificates/CertificatesPage'; |
11 | 11 | import { certificates, columns } from './Trust/Certificates/Certificates.data'; |
12 | 12 |
|
@@ -56,39 +56,39 @@ const routes: AppRouteConfig[] = [ |
56 | 56 | }, |
57 | 57 | ], |
58 | 58 | }, |
59 | | - { |
60 | | - element: <ArtifactsPage />, |
61 | | - exact: true, |
62 | | - label: 'Artifacts', |
63 | | - path: '/artifacts', |
64 | | - title: 'Artifacts', |
65 | | - }, |
66 | | - { |
67 | | - label: 'Settings', |
68 | | - routes: [ |
69 | | - { |
70 | | - element: <GeneralSettings />, |
71 | | - exact: true, |
72 | | - label: 'General', |
73 | | - path: '/settings/general', |
74 | | - title: 'General Settings', |
75 | | - }, |
76 | | - { |
77 | | - element: <ProfileSettings />, |
78 | | - exact: true, |
79 | | - label: 'Profile', |
80 | | - path: '/settings/profile', |
81 | | - title: 'Profile Settings', |
82 | | - }, |
83 | | - ], |
84 | | - }, |
85 | | - { |
86 | | - element: <Dashboard />, |
87 | | - exact: true, |
88 | | - label: 'Dashboard', |
89 | | - path: '/dashboard', |
90 | | - title: 'RHTAS Console UI', |
91 | | - }, |
| 59 | + // { |
| 60 | + // element: <ArtifactsPage />, |
| 61 | + // exact: true, |
| 62 | + // label: 'Artifacts', |
| 63 | + // path: '/artifacts', |
| 64 | + // title: 'Artifacts', |
| 65 | + // }, |
| 66 | + // { |
| 67 | + // label: 'Settings', |
| 68 | + // routes: [ |
| 69 | + // { |
| 70 | + // element: <GeneralSettings />, |
| 71 | + // exact: true, |
| 72 | + // label: 'General', |
| 73 | + // path: '/settings/general', |
| 74 | + // title: 'General Settings', |
| 75 | + // }, |
| 76 | + // { |
| 77 | + // element: <ProfileSettings />, |
| 78 | + // exact: true, |
| 79 | + // label: 'Profile', |
| 80 | + // path: '/settings/profile', |
| 81 | + // title: 'Profile Settings', |
| 82 | + // }, |
| 83 | + // ], |
| 84 | + // }, |
| 85 | + // { |
| 86 | + // element: <Dashboard />, |
| 87 | + // exact: true, |
| 88 | + // label: 'Dashboard', |
| 89 | + // path: '/dashboard', |
| 90 | + // title: 'RHTAS Console UI', |
| 91 | + // }, |
92 | 92 | ]; |
93 | 93 |
|
94 | 94 | const flattenedRoutes: IAppRoute[] = routes.reduce( |
|
0 commit comments