Skip to content

Commit a1930da

Browse files
committed
OCPBUGS-63056: Add favourites to Alerting page
1 parent 9a8dd0e commit a1930da

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

web/src/components/alerting/AlertingPage.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
import { PageSection, Title } from '@patternfly/react-core';
21
import type { FC } from 'react';
32
import { lazy } from 'react';
43
import { useTranslation } from 'react-i18next';
5-
import { HorizontalNav, useActivePerspective } from '@openshift-console/dynamic-plugin-sdk';
4+
import {
5+
HorizontalNav,
6+
ListPageHeader,
7+
useActivePerspective,
8+
} from '@openshift-console/dynamic-plugin-sdk';
69

710
const AlertsPage = lazy(
811
() => import(/* webpackChunkName: "AlertsPage" */ '../alerting/AlertsPage'),
@@ -50,10 +53,8 @@ const AlertingPage: FC = () => {
5053

5154
return (
5255
<>
53-
<PageSection hasBodyWrapper={false}>
54-
<Title headingLevel="h1">{t('Alerting')}</Title>
55-
<HorizontalNav contextId={contextId} pages={pages} />
56-
</PageSection>
56+
<ListPageHeader title={t('Alerting')} />
57+
<HorizontalNav contextId={contextId} pages={pages} />
5758
</>
5859
);
5960
};

0 commit comments

Comments
 (0)