Apply suggestions from code review

Co-authored-by: Vincenzo Scamporlino <vincenzos@spotify.com>
Signed-off-by: Andreas Berger <Andy2003@users.noreply.github.com>
This commit is contained in:
Andreas Berger
2025-05-07 11:13:53 +02:00
committed by GitHub
parent fa67031ff9
commit eef2c5c3fd
2 changed files with 1 additions and 5 deletions
+1 -4
View File
@@ -2,7 +2,4 @@
'@backstage/plugin-catalog': minor
---
Harmonize `CatalogTable`
- Show pagination text for `OffsetPagination`
- Do not show paging if there is only one page
Show the pagination text for the offset-paginated catalog table, and remove the pagination bar from the top of the `CatalogTable` when pagination is enabled.
@@ -195,7 +195,6 @@ export const CatalogTable = (props: CatalogTableProps) => {
const actions = props.actions || defaultActions;
const options: TableProps['options'] = {
paginationPosition: 'both',
actionsColumnIndex: -1,
loadingType: 'linear' as const,
showEmptyDataSourceMessage: !loading,