File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
app/code/Magento/Catalog/view/adminhtml/web/js/components Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -57,14 +57,14 @@ define([
57
57
var string = this . mask || '' ,
58
58
nonEmptyValueFlag = false ;
59
59
60
- if ( ! this . allowImport ) {
61
- return ;
62
- }
63
-
64
60
if ( placeholder ) {
65
61
this . values [ placeholder ] = component . getPreview ( ) || '' ;
66
62
}
67
63
64
+ if ( ! this . allowImport ) {
65
+ return ;
66
+ }
67
+
68
68
_ . each ( this . values , function ( propertyValue , propertyName ) {
69
69
string = string . replace ( '{{' + propertyName + '}}' , propertyValue ) ;
70
70
nonEmptyValueFlag = nonEmptyValueFlag || ! ! propertyValue ;
@@ -104,7 +104,7 @@ define([
104
104
this . allowImport = true ;
105
105
106
106
if ( this . autoImportIfEmpty ) {
107
- this . updateValue ( false , null ) ;
107
+ this . updateValue ( null , null ) ;
108
108
}
109
109
} else {
110
110
this . allowImport = false ;
You can’t perform that action at this time.
0 commit comments