diff --git a/plugins/catalog-react/src/components/DefaultFilters/DefaultFilters.tsx b/plugins/catalog-react/src/components/DefaultFilters/DefaultFilters.tsx
index 45625c716f..9992c8d1d2 100644
--- a/plugins/catalog-react/src/components/DefaultFilters/DefaultFilters.tsx
+++ b/plugins/catalog-react/src/components/DefaultFilters/DefaultFilters.tsx
@@ -37,11 +37,17 @@ export type DefaultFiltersProps = {
initialKind?: string;
initiallySelectedFilter?: UserListFilterKind;
ownerPickerMode?: EntityOwnerPickerProps['mode'];
+ initiallySelectedNamespaces?: string[];
};
/** @public */
export const DefaultFilters = (props: DefaultFiltersProps) => {
- const { initialKind, initiallySelectedFilter, ownerPickerMode } = props;
+ const {
+ initialKind,
+ initiallySelectedFilter,
+ ownerPickerMode,
+ initiallySelectedNamespaces,
+ } = props;
return (
<>
@@ -51,7 +57,9 @@ export const DefaultFilters = (props: DefaultFiltersProps) => {
-
+
>
);
};
diff --git a/plugins/catalog/src/components/CatalogPage/DefaultCatalogPage.tsx b/plugins/catalog/src/components/CatalogPage/DefaultCatalogPage.tsx
index 1b91bddf2a..44e1022042 100644
--- a/plugins/catalog/src/components/CatalogPage/DefaultCatalogPage.tsx
+++ b/plugins/catalog/src/components/CatalogPage/DefaultCatalogPage.tsx
@@ -122,6 +122,7 @@ export function DefaultCatalogPage(props: DefaultCatalogPageProps) {
initialKind={initialKind}
initiallySelectedFilter={initiallySelectedFilter}
ownerPickerMode={ownerPickerMode}
+ initiallySelectedNamespaces={initiallySelectedNamespaces}
/>
)
}