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.

fix: Local API Server - disable settings on run (#6707)

Louiscef351bfd080
diff --git a/web-app/src/routes/settings/local-api-server.tsx b/web-app/src/routes/settings/local-api-server.tsx
index 3628a6f8c..b3360e98e 100644
--- a/web-app/src/routes/settings/local-api-server.tsx
+++ b/web-app/src/routes/settings/local-api-server.tsx
@@ -258,7 +258,7 @@ function LocalAPIServerContent() {
}
}
- const isServerRunning = serverStatus === 'running'
+ const isServerRunning = serverStatus !== 'stopped'
return (
<div className="flex flex-col h-full">