diff --git a/plugins/catalog/api-report.md b/plugins/catalog/api-report.md index 08ec68990c..d28cd13f95 100644 --- a/plugins/catalog/api-report.md +++ b/plugins/catalog/api-report.md @@ -163,6 +163,8 @@ export interface DefaultCatalogPageProps { // (undocumented) columns?: TableColumn[]; // (undocumented) + initialKind?: string; + // (undocumented) initiallySelectedFilter?: UserListFilterKind; // (undocumented) options?: TableProps['options']; diff --git a/plugins/catalog/src/components/CatalogPage/DefaultCatalogPage.tsx b/plugins/catalog/src/components/CatalogPage/DefaultCatalogPage.tsx index b2c1f92f9a..b92d993203 100644 --- a/plugins/catalog/src/components/CatalogPage/DefaultCatalogPage.tsx +++ b/plugins/catalog/src/components/CatalogPage/DefaultCatalogPage.tsx @@ -48,6 +48,7 @@ export interface DefaultCatalogPageProps { initiallySelectedFilter?: UserListFilterKind; columns?: TableColumn[]; actions?: TableProps['actions']; + initialKind?: string; options?: TableProps['options']; } @@ -56,6 +57,7 @@ export function DefaultCatalogPage(props: DefaultCatalogPageProps) { columns, actions, initiallySelectedFilter = 'owned', + initialKind = 'component', options = {}, } = props; const orgName = @@ -66,7 +68,9 @@ export function DefaultCatalogPage(props: DefaultCatalogPageProps) { - }> + } + >