Skip to content

Commit

Permalink
Use 'report' icon for ErrorAlerts [#159472807]
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Berney <jberney@pivotal.io>
  • Loading branch information
reidmit authored and Jonathan Berney committed Aug 7, 2018
1 parent da6c67d commit 71dc6da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/pivotal-ui-react/alerts/alerts_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ describe('Alert Component', () => {
});

it('renders an icon in the alert', () => {
expect('.pui-alert svg').toHaveClass('icon-warning');
expect('.pui-alert svg').toHaveClass('icon-report');
});

it('has a "error alert" label', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/css/iconography/svgs/report.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/react/alerts/alerts.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ const defAlert = props => {
export const SuccessAlert = defAlert({bsStyle: 'success', alertIcon: 'check_circle'});
export const InfoAlert = defAlert({bsStyle: 'info', alertIcon: 'info'});
export const WarningAlert = defAlert({bsStyle: 'warning', alertIcon: 'warning'});
export const ErrorAlert = defAlert({bsStyle: 'danger', alertIcon: 'warning'});
export const ErrorAlert = defAlert({bsStyle: 'danger', alertIcon: 'report'});

0 comments on commit 71dc6da

Please sign in to comment.