fix: properly get the alert severity (#6974)

This commit is contained in:
Shaheer Kochai 2025-01-29 22:00:51 +04:30 committed by GitHub
parent 1378590429
commit f04589a0b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,7 +43,7 @@ function AlertHeader({ alertDetails }: AlertHeaderProps): JSX.Element {
</div>
</div>
<div className="bottom-section">
<AlertSeverity severity="warning" />
{labels.severity && <AlertSeverity severity={labels.severity} />}
{/* // TODO(shaheer): Get actual data when we are able to get alert firing from state from API */}
{/* <AlertStatus