diff --git a/libs/ui-lib/lib/ocm/components/clusters/ClustersListToolbar.tsx b/libs/ui-lib/lib/ocm/components/clusters/ClustersListToolbar.tsx index f6f1f1c784..be845f14d1 100644 --- a/libs/ui-lib/lib/ocm/components/clusters/ClustersListToolbar.tsx +++ b/libs/ui-lib/lib/ocm/components/clusters/ClustersListToolbar.tsx @@ -4,7 +4,6 @@ import { Toolbar, ToolbarItem, ToolbarContent, - ToolbarFilter, InputGroup, TextInput, ToolbarProps, @@ -29,6 +28,7 @@ import { useTranslation } from '../../../common/hooks/use-translation-wrapper'; import { Cluster } from '@openshift-assisted/types/assisted-installer-service'; import { useDispatchDay1, useSelectorDay1 } from '../../store'; import { selectClustersUIState } from '../../store/slices/clusters/selectors'; +import { CustomToolbarFilter } from './CustomToolbarFilter'; export type ClusterFiltersType = { [key: string]: string[]; // value from clusterStatusLabels @@ -127,7 +127,7 @@ const ClustersListToolbar: React.FC = ({ - = ({ /> ))} - + history.push(`${routeBasePath}/clusters/~new`)} diff --git a/libs/ui-lib/lib/ocm/components/clusters/CustomToolbarFilter.tsx b/libs/ui-lib/lib/ocm/components/clusters/CustomToolbarFilter.tsx new file mode 100644 index 0000000000..e69de29bb2