diff --git a/frontend/src/scenes/insights/EditorFilters/PathsAdvanced.tsx b/frontend/src/scenes/insights/EditorFilters/PathsAdvanced.tsx index 700da315ace35..bb91b0447a4a6 100644 --- a/frontend/src/scenes/insights/EditorFilters/PathsAdvanced.tsx +++ b/frontend/src/scenes/insights/EditorFilters/PathsAdvanced.tsx @@ -42,7 +42,7 @@ export function PathsAdvanced({ insightProps, ...rest }: EditorFilterProps): JSX type="number" min={0} max={1000} - defaultValue={50} + defaultValue={localEdgeParameters.edgeLimit || 50} onChange={(value): void => setLocalEdgeParameters((state) => ({ ...state, @@ -64,6 +64,7 @@ export function PathsAdvanced({ insightProps, ...rest }: EditorFilterProps): JSX type="number" min={0} max={100000} + defaultValue={localEdgeParameters.minEdgeWeight} onChange={(value): void => { setLocalEdgeParameters((state) => ({ ...state, @@ -86,6 +87,7 @@ export function PathsAdvanced({ insightProps, ...rest }: EditorFilterProps): JSX }} min={0} max={100000} + defaultValue={localEdgeParameters.maxEdgeWeight} onBlur={updateEdgeParameters} onPressEnter={updateEdgeParameters} />