feat: -rm pagination options in RunsTable
This commit is contained in:
@@ -630,11 +630,10 @@ export const RunsTable: React.FC<RunsTableProps> = ({
|
|||||||
count={data.length}
|
count={data.length}
|
||||||
rowsPerPage={getPaginationState(robotMetaId).rowsPerPage}
|
rowsPerPage={getPaginationState(robotMetaId).rowsPerPage}
|
||||||
page={getPaginationState(robotMetaId).page}
|
page={getPaginationState(robotMetaId).page}
|
||||||
onPageChange={(_, newPage) => handleChangePage(robotMetaId, newPage)}
|
onPageChange={(_, newPage) =>
|
||||||
onRowsPerPageChange={(event) =>
|
handleChangePage(robotMetaId, newPage)
|
||||||
handleChangeRowsPerPage(robotMetaId, +event.target.value)
|
|
||||||
}
|
}
|
||||||
rowsPerPageOptions={[10, 25, 50, 100]}
|
rowsPerPageOptions={[]}
|
||||||
/>
|
/>
|
||||||
</AccordionDetails>
|
</AccordionDetails>
|
||||||
</Accordion>
|
</Accordion>
|
||||||
@@ -654,4 +653,4 @@ export const RunsTable: React.FC<RunsTableProps> = ({
|
|||||||
)}
|
)}
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user