Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

chore: take back hardware setting menu

Faisal Amire878a4b4ae21
diff --git a/web-app/src/containers/SettingsMenu.tsx b/web-app/src/containers/SettingsMenu.tsx
index 7598ffe53..ebbc781c3 100644
--- a/web-app/src/containers/SettingsMenu.tsx
+++ b/web-app/src/containers/SettingsMenu.tsx
@@ -13,6 +13,7 @@ import {
IconPlus,
IconTopologyStar3,
IconLock,
+ IconCpu,
} from '@tabler/icons-react'
import { useMatches, useNavigate } from '@tanstack/react-router'
import { cn } from '@/lib/utils'
@@ -123,6 +124,13 @@ const SettingsMenu = () => {
route: route.settings.shortcuts,
icon: IconCommand,
},
+ {
+ title: 'common:hardware',
+ route: route.settings.hardware,
+ hasSubMenu: false,
+ isEnabled: true,
+ icon: IconCpu,
+ },
{ title: 'common:privacy', route: route.settings.privacy, icon: IconLock },
]