Skip to content

Commit 0cd4aea

Browse files
committed
fix static test
1 parent be24d90 commit 0cd4aea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/ConfigurableProduct/view/adminhtml/web/js/variations/steps/attributes_values.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ define([
106106
errorOption,
107107
allOptions = [];
108108

109-
newOption.label = $.trim(option.label);
109+
newOption.label = $.trim(newOption.label);
110+
110111
if (_.isEmpty(newOption.label)) {
111112
return false;
112113
}

0 commit comments

Comments
 (0)