diff --git a/lightrag_webui/src/components/graph/Settings.tsx b/lightrag_webui/src/components/graph/Settings.tsx index 3be61795..af585b83 100644 --- a/lightrag_webui/src/components/graph/Settings.tsx +++ b/lightrag_webui/src/components/graph/Settings.tsx @@ -313,19 +313,31 @@ export default function Settings() { max={Math.min(maxEdgeSize, 10)} /> - - { - const newValue = Number(e.target.value); - if (!isNaN(newValue) && newValue >= minEdgeSize && newValue >= 1 && newValue <= 10) { - useSettingsStore.setState({ maxEdgeSize: newValue }); - } - }} - className="h-6 w-16 min-w-0 pr-1" - min={minEdgeSize} - max={10} - /> +
+ { + const newValue = Number(e.target.value); + if (!isNaN(newValue) && newValue >= minEdgeSize && newValue >= 1 && newValue <= 10) { + useSettingsStore.setState({ maxEdgeSize: newValue }); + } + }} + className="h-6 w-16 min-w-0 pr-1" + min={minEdgeSize} + max={10} + /> + +