Skip to content

Commit 480e5bf

Browse files
committed
PB-202: PB-69 Story Bug: Leading Space Breaks 1st SKU
1 parent 371f30a commit 480e5bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/js/form/provider/conditions-data-processor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ define([
4444
pairs['parameters[' + attribute + '][1][type]'] = "Magento\\CatalogWidget\\Model\\Rule\\Condition\\Combine";
4545
pairs['parameters[' + attribute + '][1][value]'] = "1";
4646
pairs['parameters[' + attribute + '][1--1][attribute]'] = data.condition_option;
47-
pairs['parameters[' + attribute + '][1--1][value]'] = data[data.condition_option];
47+
pairs['parameters[' + attribute + '][1--1][value]'] = data[data.condition_option].trim();
4848
}
4949

5050
if (!_.isEmpty(pairs)) {

0 commit comments

Comments
 (0)