Skip to content

Commit

Permalink
fix(APP-3632): Implements correct icon for critical alerts (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
evanaronson authored Nov 21, 2024
1 parent 1655ab9 commit 6ab9a1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

- Improve responsiveness for `DefinitionList` container and items for middle breakpoints
- Update `DaoAvatar` to correctly set text size depending on `size` property
- AlertUtil fixed to use correct icon for critical alerts

## [1.0.54] - 2024-11-11

Expand Down
2 changes: 1 addition & 1 deletion src/core/components/alerts/alertUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconType } from '../icon';
export type AlertVariant = 'critical' | 'info' | 'success' | 'warning';

export const alertVariantToIconType: Record<AlertVariant, IconType> = {
critical: IconType.WARNING,
critical: IconType.CRITICAL,
info: IconType.INFO,
success: IconType.SUCCESS,
warning: IconType.WARNING,
Expand Down

0 comments on commit 6ab9a1a

Please sign in to comment.