Skip to content

Commit e540f95

Browse files
Merge pull request #1712 from akmarif/issues/1438
Disabled Verification btn
2 parents 0060342 + 287306d commit e540f95

File tree

1 file changed

+4
-0
lines changed
  • src/shared/components/Settings/Account/MyAccount

1 file changed

+4
-0
lines changed

src/shared/components/Settings/Account/MyAccount/index.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ export default class MyAccount extends React.Component {
391391
<div styleName={`button-verification-email ${btnVerifiEmailVisible ? 'active' : 'hide'}`}>
392392
<PrimaryButton
393393
styleName="white-label"
394+
disabled={!newEmail}
394395
onClick={this.onSendVerificationEmail}
395396
>
396397
Send Verification Email
@@ -399,6 +400,7 @@ export default class MyAccount extends React.Component {
399400
<div styleName={`button-verification-again ${btnVerifiAgainlVisible ? 'active' : 'hide'}`}>
400401
<PrimaryButton
401402
styleName="white-label"
403+
disabled={!newEmail}
402404
onClick={this.onSendVerificationEmail}
403405
>
404406
Send Verification Email Again
@@ -468,6 +470,7 @@ export default class MyAccount extends React.Component {
468470
<div styleName={`button-verification-email ${btnVerifiEmailVisible ? 'active' : 'hide'}`}>
469471
<PrimaryButton
470472
styleName="white-label"
473+
disabled={!newEmail}
471474
onClick={this.onSendVerificationEmail}
472475
>
473476
Send Verification Email
@@ -476,6 +479,7 @@ export default class MyAccount extends React.Component {
476479
<div styleName={`button-verification-again ${btnVerifiAgainlVisible ? 'active' : 'hide'}`}>
477480
<PrimaryButton
478481
styleName="white-label"
482+
disabled={!newEmail}
479483
onClick={this.onSendVerificationEmail}
480484
>
481485
Send Verification Email Again

0 commit comments

Comments
 (0)