From 86226090e5eed4efa38a0a5a52463d009daf1502 Mon Sep 17 00:00:00 2001 From: Camila Belo Date: Tue, 1 Apr 2025 14:47:51 +0200 Subject: [PATCH] Revert "Fix default catalog table search" Signed-off-by: benjdlambert --- .changeset/tasty-moments-do.md | 5 ----- plugins/catalog/src/components/CatalogTable/CatalogTable.tsx | 4 ---- 2 files changed, 9 deletions(-) delete mode 100644 .changeset/tasty-moments-do.md diff --git a/.changeset/tasty-moments-do.md b/.changeset/tasty-moments-do.md deleted file mode 100644 index 716f65088e..0000000000 --- a/.changeset/tasty-moments-do.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@backstage/plugin-catalog': patch ---- - -Fix the default catalog table search behavior by using the catalog table toolbar for all table variations (including when pagination mode is none). diff --git a/plugins/catalog/src/components/CatalogTable/CatalogTable.tsx b/plugins/catalog/src/components/CatalogTable/CatalogTable.tsx index f49222849f..0b2d2e4a4c 100644 --- a/plugins/catalog/src/components/CatalogTable/CatalogTable.tsx +++ b/plugins/catalog/src/components/CatalogTable/CatalogTable.tsx @@ -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}. @@ -252,9 +251,6 @@ export const CatalogTable = (props: CatalogTableProps) => { actions={actions} subtitle={subtitle} emptyContent={emptyContent} - components={{ - Toolbar: CatalogTableToolbar, - }} /> ); };