File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Customer/view/adminhtml/web/js/form/element Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,15 @@ define([
19
19
var groupIdFieldKey = 'group_id' ,
20
20
sendEmailStoreIdFieldKey = 'sendemail_store_id' ,
21
21
groupId = registry . get ( 'index = ' + groupIdFieldKey ) ,
22
- storeId = registry . get ( 'index = ' + sendEmailStoreIdFieldKey ) ,
22
+ sendEmailStoreId = registry . get ( 'index = ' + sendEmailStoreIdFieldKey ) ,
23
23
option = this . getOption ( value ) ;
24
24
25
25
if ( groupId ) {
26
26
groupId . value ( option [ groupIdFieldKey ] ) ;
27
27
}
28
28
29
- if ( option [ 'default_store_view_id' ] ) {
30
- storeId . value ( option [ 'default_store_view_id' ] ) ;
29
+ if ( sendEmailStoreId && option [ 'default_store_view_id' ] ) {
30
+ sendEmailStoreId . value ( option [ 'default_store_view_id' ] ) ;
31
31
}
32
32
return this . _super ( ) ;
33
33
}
You can’t perform that action at this time.
0 commit comments