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([
1919 var groupIdFieldKey = 'group_id' ,
2020 sendEmailStoreIdFieldKey = 'sendemail_store_id' ,
2121 groupId = registry . get ( 'index = ' + groupIdFieldKey ) ,
22- storeId = registry . get ( 'index = ' + sendEmailStoreIdFieldKey ) ,
22+ sendEmailStoreId = registry . get ( 'index = ' + sendEmailStoreIdFieldKey ) ,
2323 option = this . getOption ( value ) ;
2424
2525 if ( groupId ) {
2626 groupId . value ( option [ groupIdFieldKey ] ) ;
2727 }
2828
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' ] ) ;
3131 }
3232 return this . _super ( ) ;
3333 }
You can’t perform that action at this time.
0 commit comments