Skip to content

Commit

Permalink
fix: populate alert rule disabled state on toggling alert state (#5854)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadshaheer committed Sep 4, 2024
1 parent ba7343b commit 88fb618
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function AlertHeader({ alertDetails }: AlertHeaderProps): JSX.Element {
<div className="alert-info__info-wrapper">
<div className="top-section">
<div className="alert-title-wrapper">
<AlertState state={state} />
<AlertState state={isAlertRuleDisabled ? 'disabled' : state} />
<div className="alert-title">{alert}</div>
</div>
</div>
Expand Down

0 comments on commit 88fb618

Please sign in to comment.