File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
web/src/components/Incidents Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 88import { BellIcon } from '@patternfly/react-icons' ;
99import { Bullseye , Spinner } from '@patternfly/react-core' ;
1010import { Link } from 'react-router-dom' ;
11- import { AlertResource } from '../utils' ;
11+ import { RuleResource } from '../utils' ;
1212import { useTranslation } from 'react-i18next' ;
1313import { getRuleUrl , usePerspective } from '../hooks/usePerspective' ;
1414import './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 >
You can’t perform that action at this time.
0 commit comments