From 1778736c1ce4aac746d4579cae4005b46fda0622 Mon Sep 17 00:00:00 2001 From: Montse Ortega Date: Thu, 26 Sep 2024 16:09:45 +0200 Subject: [PATCH] Solving problems with ToolbarFilter in ClusterEventsToolbar (#2672) --- .../ui-lib/lib/common/components/ui/ClusterEventsToolbar.tsx | 5 +++-- .../components/ui}/CustomToolbarFilter.tsx | 0 .../lib/ocm/components/clusters/ClustersListToolbar.tsx | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) rename libs/ui-lib/lib/{ocm/components/clusters => common/components/ui}/CustomToolbarFilter.tsx (100%) diff --git a/libs/ui-lib/lib/common/components/ui/ClusterEventsToolbar.tsx b/libs/ui-lib/lib/common/components/ui/ClusterEventsToolbar.tsx index ccbe81cbbd..5bb4001a66 100644 --- a/libs/ui-lib/lib/common/components/ui/ClusterEventsToolbar.tsx +++ b/libs/ui-lib/lib/common/components/ui/ClusterEventsToolbar.tsx @@ -32,6 +32,7 @@ import { useTranslation } from '../../hooks/use-translation-wrapper'; import { isSelectEventChecked } from './utils'; import { TFunction } from 'i18next'; import { stringToJSON } from '../../utils'; +import { CustomToolbarFilter } from './CustomToolbarFilter'; export type SeverityCountsType = { [severity in Event['severity']]: number }; @@ -218,7 +219,7 @@ const ClusterEventsToolbar = ({ > {entityKind === 'cluster' && ( - @@ -261,7 +262,7 @@ const ClusterEventsToolbar = ({ )), ]} - + )}