Alerting: Fix Card link in legacy alerting items (#44094)

* remove href

* revert yarn.lock
This commit is contained in:
Peter Holmberg 2022-01-24 16:16:55 +01:00 committed by GitHub
parent 65bdb3a899
commit a7423d8760
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ const AlertRuleItem = ({ rule, search, onTogglePause }: Props) => {
);
return (
<Card href={ruleUrl}>
<Card>
<Card.Heading>{renderText(rule.name)}</Card.Heading>
<Card.Figure>
<Icon size="xl" name={rule.stateIcon as IconName} className={`alert-rule-item__icon ${rule.stateClass}`} />