Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions app/layouts/SystemLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,7 @@ import { useMemo } from 'react'
import { useLocation, useNavigate, useParams } from 'react-router-dom'

import { apiQueryClient } from '@oxide/api'
import {
Cloud16Icon,
Divider,
Metrics16Icon,
Settings16Icon,
Storage16Icon,
} from '@oxide/ui'
import { Cloud16Icon, Divider, Metrics16Icon, Storage16Icon } from '@oxide/ui'

import { trigger404 } from 'app/components/ErrorBoundary'
import { DocsLinkItem, NavLinkItem, Sidebar } from 'app/components/Sidebar'
Expand Down Expand Up @@ -118,9 +112,6 @@ export default function SystemLayout() {
<NavLinkItem to={pb.systemNetworking()} disabled>
<Networking16Icon /> Networking
</NavLinkItem> */}
<NavLinkItem to={pb.systemSettings()} disabled>
<Settings16Icon /> Settings
</NavLinkItem>
</Sidebar.Nav>
</Sidebar>
<ContentPane />
Expand Down
1 change: 0 additions & 1 deletion app/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ export const routes = createRoutesFromElements(
<Route path="health" element={null} handle={{ crumb: 'Health' }} />
<Route path="update" element={null} handle={{ crumb: 'Update' }} />
<Route path="networking" element={null} handle={{ crumb: 'Networking' }} />
<Route path="settings" element={null} handle={{ crumb: 'Settings' }} />
</Route>

<Route index element={<Navigate to={pb.projects()} replace />} />
Expand Down
1 change: 0 additions & 1 deletion app/util/path-builder.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ test('path builder', () => {
"systemHealth": "/system/health",
"systemIssues": "/system/issues",
"systemNetworking": "/system/networking",
"systemSettings": "/system/settings",
"systemUtilization": "/system/utilization",
"vpc": "/projects/p/vpcs/v",
"vpcEdit": "/projects/p/vpcs/v/edit",
Expand Down
1 change: 0 additions & 1 deletion app/util/path-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ export const pb = {
systemHealth: () => '/system/health',

systemNetworking: () => '/system/networking',
systemSettings: () => '/system/settings',

inventory: () => '/system/inventory',
rackInventory: () => '/system/inventory/racks',
Expand Down