From 282dacc29147143fc37a4bc5325716cd810351bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20MANSUY?= Date: Thu, 4 Dec 2025 19:18:14 +0800 Subject: [PATCH] cherry-pick d4abe704 --- .../src/components/graph/Settings.tsx | 40 ++++++++++--------- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/lightrag_webui/src/components/graph/Settings.tsx b/lightrag_webui/src/components/graph/Settings.tsx index 41da2f22..ca257194 100644 --- a/lightrag_webui/src/components/graph/Settings.tsx +++ b/lightrag_webui/src/components/graph/Settings.tsx @@ -386,25 +386,29 @@ export default function Settings() { defaultValue={15} onEditFinished={setGraphLayoutMaxIterations} /> - - - {/* Development/Testing Section */} -
- - -
+ {/* Development/Testing Section - Only visible in development mode */} + {import.meta.env.DEV && ( + <> + - +
+ + +
+ + + + )}