File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
Ui/view/base/web/js/form/element Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 15
15
use Magento \Store \Model \ScopeInterface ;
16
16
use Magento \Store \Model \StoreManagerInterface ;
17
17
18
- class CountryHandlerInterfaceTest extends \PHPUnit_Framework_TestCase
18
+ class CountryHandlerTest extends \PHPUnit_Framework_TestCase
19
19
{
20
20
/**
21
21
* @var \PHPUnit_Framework_MockObject_MockObject | ScopeConfigInterface
Original file line number Diff line number Diff line change @@ -32,8 +32,7 @@ define([
32
32
}
33
33
34
34
this . _super ( value , field ) ;
35
-
36
- result = _ . filter ( this . initialOptions , function ( item ) {
35
+ result = _ . filter ( this . initialOptions , function ( item ) {
37
36
38
37
if ( item [ field ] ) {
39
38
return ~ item [ field ] . indexOf ( value ) ;
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ define([
22
22
*/
23
23
initialize : function ( ) {
24
24
this . _super ( ) ;
25
-
26
- if ( this . customerId || this . isGlobalScope ) { //disable element if customer exists
25
+
26
+ if ( this . customerId || this . isGlobalScope ) {
27
27
this . disable ( true ) ;
28
28
}
29
29
You can’t perform that action at this time.
0 commit comments