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: update ui

Faisal Amir0f0b98395aac
diff --git a/web-app/src/locales/en/settings.json b/web-app/src/locales/en/settings.json
index 0ca52fc6d..399222d1a 100644
--- a/web-app/src/locales/en/settings.json
+++ b/web-app/src/locales/en/settings.json
@@ -337,8 +337,8 @@
"nodeVersion": "Node.js Version",
"openclawVersion": "OpenClaw Version",
"quickSetup": "Quick Setup",
- "enableRemoteAccess": "Enable Remote Access",
- "disableRemoteAccess": "Disable Remote Access",
+ "enableRemoteAccess": "Enable OpenClaw",
+ "disableRemoteAccess": "Disable OpenClaw",
"connectChannel": "Connect a Channel",
"shareAccess": "Share Access",
"generateInviteLink": "Generate Invite Link",
diff --git a/web-app/src/routes/settings/remote-access.tsx b/web-app/src/routes/settings/remote-access.tsx
index 90b1b5b91..5f1f0ed55 100644
--- a/web-app/src/routes/settings/remote-access.tsx
+++ b/web-app/src/routes/settings/remote-access.tsx
@@ -26,7 +26,6 @@ import {
IconCopy,
IconExternalLink,
} from '@tabler/icons-react'
-import { cn } from '@/lib/utils'
import type {
ChannelType,
TelegramConfig,
@@ -42,7 +41,7 @@ export const Route = createFileRoute(route.settings.remote_access as any)({
component: RemoteAccess,
})
-const OPENCLAW_PORT = 18789
+// const OPENCLAW_PORT = 18789
function RemoteAccess() {
const { t } = useTranslation()
@@ -237,8 +236,9 @@ function RemoteAccess() {
<SettingsMenu />
<div className="p-4 pt-0 w-full overflow-y-auto">
<div className="flex flex-col justify-between gap-4 gap-y-3 w-full">
- <Card title={t('settings:remoteAccess.title')}>
- <CardItem
+ {/* Status Card */}
+ {/* <Card title={t('settings:remoteAccess.title')}>
+ <CardItem
title={t('settings:remoteAccess.status')}
actions={
<div className="flex items-center gap-2">
@@ -296,7 +296,7 @@ function RemoteAccess() {
actions={<span className="text-foreground">{status.openclaw_version}</span>}
/>
)}
- </Card>
+ </Card> */}
<Card title={t('settings:remoteAccess.quickSetup')}>
<CardItem