Skip to content

Commit

Permalink
fix functional test issue due to ui setting
Browse files Browse the repository at this point in the history
Signed-off-by: kishor82 <kishorrathva8298@gmail.com>
  • Loading branch information
kishor82 committed Dec 19, 2023
1 parent ed33807 commit 899516d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const DataGridTable = ({

const [inspectedHit, setInspectedHit] = useState<OpenSearchSearchHit | undefined>();
const rowCount = useMemo(() => (rows ? rows.length : 0), [rows]);
const pageSizeLimit = services.uiSettings.get(SAMPLE_SIZE_SETTING);
const pageSizeLimit = services.uiSettings?.get(SAMPLE_SIZE_SETTING);
const pagination = usePagination({ rowCount, pageSizeLimit });

let adjustedColumns = buildColumns(columns);
Expand Down

0 comments on commit 899516d

Please sign in to comment.