Merge pull request #28612 from kuangp/refactor/catalog-table

refactor(CatalogTable): allow overriding default components
This commit is contained in:
Phil Kuang
2025-02-09 18:37:34 -05:00
committed by GitHub
2 changed files with 5 additions and 4 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog': patch
---
Revert client side paginated catalog table to using built in Material Table toolbar component
@@ -49,7 +49,6 @@ import { defaultCatalogTableColumnsFunc } from './defaultCatalogTableColumnsFunc
import { useTranslationRef } from '@backstage/core-plugin-api/alpha';
import { catalogTranslationRef } from '../../alpha/translation';
import { FavoriteToggleIcon } from '@backstage/core-components';
import { CatalogTableToolbar } from './CatalogTableToolbar';
/**
* Props for {@link CatalogTable}.
@@ -247,9 +246,6 @@ export const CatalogTable = (props: CatalogTableProps) => {
pageSizeOptions: [20, 50, 100],
...options,
}}
components={{
Toolbar: CatalogTableToolbar,
}}
title={title}
data={rows}
actions={actions}