From f2481c2a2720cae8f37ddc7e4c1388bdb625dd98 Mon Sep 17 00:00:00 2001 From: shubhamraj-git Date: Sat, 18 Jan 2025 01:45:53 +0530 Subject: [PATCH] decrease limit --- airflow/ui/src/pages/Variables/Variables.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/airflow/ui/src/pages/Variables/Variables.tsx b/airflow/ui/src/pages/Variables/Variables.tsx index 6b0f325f469a1..51a0c8c35cc27 100644 --- a/airflow/ui/src/pages/Variables/Variables.tsx +++ b/airflow/ui/src/pages/Variables/Variables.tsx @@ -104,7 +104,9 @@ const getColumns = ({ ]; export const Variables = () => { - const { setTableURLState, tableURLState } = useTableURLState(); + const { setTableURLState, tableURLState } = useTableURLState({ + pagination: { pageIndex: 0, pageSize: 30 }, + }); // To make multiselection smooth const [searchParams, setSearchParams] = useSearchParams(); const { NAME_PATTERN: NAME_PATTERN_PARAM }: SearchParamsKeysType = SearchParamsKeys; const [variableKeyPattern, setVariableKeyPattern] = useState(