Skip to content

Commit

Permalink
Merge pull request #323 from City-of-Helsinki/HP-2277-email-change-no…
Browse files Browse the repository at this point in the history
…tifications

HP-2277 Update email change notification
  • Loading branch information
Riippi committed Mar 12, 2024
2 parents 1984fa9 + 06194ff commit 11929ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "open-city-profile-ui",
"version": "1.5.0",
"version": "1.5.1",
"license": "MIT",
"private": true,
"dependencies": {
Expand Down
8 changes: 4 additions & 4 deletions src/profile/components/emailEditor/EmailEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,13 +182,13 @@ function EmailEditor(): React.ReactElement | null {
)}
</div>
</div>
{!showVerifyEmailInfo && (
<EditingNotifications content={content} dataType={dataType} />
)}

<EditingNotifications content={content} dataType={dataType} />

{showVerifyEmailInfo && (
<div className={styles['notification-wrapper']}>
<Notification
type={'info'}
type={'alert'}
label={t('profileInformation.verifyEmailTitle')}
dataTestId={'verify-email-notification'}
>
Expand Down

0 comments on commit 11929ca

Please sign in to comment.