Skip to content

Commit

Permalink
bug/Exception-Modal-Success-Exit-Icon-Missing (#397)
Browse files Browse the repository at this point in the history
- Removes toggle from success and error message to mimic behavior in other edit modals
- Will revisit handling of success messages after React initial release
  • Loading branch information
sophia-massie authored Dec 6, 2024
1 parent 326aac8 commit d9633d8
Showing 1 changed file with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -379,18 +379,10 @@ const EditExceptionModal: React.FC<EditRecordModalProps> = ({
</Col>
</Row>
<br />
<Alert
color="success"
isOpen={showSuccessMessage}
toggle={dismissMessages}
>
<Alert color="success" isOpen={showSuccessMessage}>
Success: The exception data has been successfully updated.
</Alert>
<Alert
color="danger"
isOpen={showErrorMessage}
toggle={dismissMessages}
>
<Alert color="danger" isOpen={showErrorMessage}>
Error: {errorMessage}
</Alert>
<Button
Expand Down

0 comments on commit d9633d8

Please sign in to comment.