Skip to content

Commit

Permalink
OCPBUGS-15566: remove virtualized table and add pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
upalatucci committed Jul 12, 2023
1 parent ae742b5 commit 076617a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/states/list/StatesList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ const StatesList: FC = () => {
namespaced: false,
});

const { onPaginationChange, pagination } = usePagination();
const selectedState = states?.find((state) => state.metadata.name === selectedStateName);
const selectedInterface = selectedState?.status?.currentState?.interfaces?.find(
(iface) => iface.name === selectedInterfaceName && iface.type === selectedInterfaceType,
);

const { onPaginationChange, pagination } = usePagination();
const [columns, activeColumns] = useStateColumns();
const filters = useStateFilters();
const [data, filteredData, onFilterChange] = useListPageFilter(states, filters);
Expand Down

0 comments on commit 076617a

Please sign in to comment.