Skip to content

Commit 8278f49

Browse files
committed
feat(ou-923): changed icon and column name
1 parent d4fb722 commit 8278f49

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web/src/components/Incidents/IncidentsDetailsRowTable.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
import { BellIcon } from '@patternfly/react-icons';
99
import { Bullseye, Spinner } from '@patternfly/react-core';
1010
import { Link } from 'react-router-dom';
11-
import { AlertResource } from '../utils';
11+
import { RuleResource } from '../utils';
1212
import { useTranslation } from 'react-i18next';
1313
import { getRuleUrl, usePerspective } from '../hooks/usePerspective';
1414
import './incidents-styles.css';
@@ -23,7 +23,7 @@ const IncidentsDetailsRowTable = ({ alerts }) => {
2323
<Table borders={false} variant="compact">
2424
<Thead>
2525
<Tr>
26-
<Th width={25}>{t('Alert Name')}</Th>
26+
<Th width={25}>{t('Alert Rule')}</Th>
2727
<Th width={15}>{t('Namespace')}</Th>
2828
<Th width={10}>{t('Severity')}</Th>
2929
<Th width={10}>{t('State')}</Th>
@@ -41,7 +41,7 @@ const IncidentsDetailsRowTable = ({ alerts }) => {
4141
return (
4242
<Tr key={rowIndex}>
4343
<Td dataLabel="expanded-details-alertname">
44-
<ResourceIcon kind={AlertResource.kind} />
44+
<ResourceIcon kind={RuleResource.kind} />
4545
<Link to={getRuleUrl(perspective, alertDetails?.rule, namespace)}>
4646
{alertDetails.alertname}
4747
</Link>

0 commit comments

Comments
 (0)