File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/code/Magento/Checkout/view/frontend/web/js/view/form/element Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ define([
113
113
114
114
$ . when ( this . isEmailCheckComplete ) . done ( function ( ) {
115
115
this . isPasswordVisible ( false ) ;
116
+ checkoutData . setCheckedEmailValue ( '' ) ;
116
117
} . bind ( this ) ) . fail ( function ( ) {
117
118
this . isPasswordVisible ( true ) ;
118
119
checkoutData . setCheckedEmailValue ( this . email ( ) ) ;
@@ -192,7 +193,7 @@ define([
192
193
* @returns {Boolean } - initial visibility state.
193
194
*/
194
195
resolveInitialPasswordVisibility : function ( ) {
195
- if ( checkoutData . getInputFieldEmailValue ( ) !== '' && checkoutData . getCheckedEmailValue ( ) = == '' ) {
196
+ if ( checkoutData . getInputFieldEmailValue ( ) !== '' && checkoutData . getCheckedEmailValue ( ) ! == '' ) {
196
197
return true ;
197
198
}
198
199
You can’t perform that action at this time.
0 commit comments