Skip to content

Commit

Permalink
Merge branch 'master' into MGMT-19008-add-preview-badge-to-operators-…
Browse files Browse the repository at this point in the history
…page
  • Loading branch information
ammont82 authored Sep 26, 2024
2 parents ac143fd + 1778736 commit fc51c74
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions libs/ui-lib/lib/common/components/ui/ClusterEventsToolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 };

Expand Down Expand Up @@ -218,7 +219,7 @@ const ClusterEventsToolbar = ({
>
<ToolbarContent>
{entityKind === 'cluster' && (
<ToolbarFilter
<CustomToolbarFilter
categoryName="Hosts"
chips={hostChips}
deleteChip={(_, chip) =>
Expand Down Expand Up @@ -261,7 +262,7 @@ const ClusterEventsToolbar = ({
)),
]}
</Select>
</ToolbarFilter>
</CustomToolbarFilter>
)}

<ToolbarFilter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,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';
import { CustomToolbarFilter } from '../../../common/components/ui/CustomToolbarFilter';

export type ClusterFiltersType = {
[key: string]: string[]; // value from clusterStatusLabels
Expand Down

0 comments on commit fc51c74

Please sign in to comment.