Skip to content

Commit bb07309

Browse files
committed
Merge remote-tracking branch 'origin/AC-2678' into arrows_pr_18082022
2 parents 70b864f + 5c7c409 commit bb07309

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

app/code/Magento/Catalog/view/adminhtml/web/js/components/dynamic-rows-import-custom-options.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ define([
4040
_.each(item.options, function (option) {
4141
currentOption = utils.copy(option);
4242

43-
if (currentOption.hasOwnProperty('sort_order')) {
44-
delete currentOption['sort_order'];
45-
}
46-
4743
if (currentOption.hasOwnProperty('option_id')) {
4844
delete currentOption['option_id'];
4945
}

dev/tests/js/jasmine/tests/app/code/Magento/Catalog/adminhtml/js/components/dynamic-rows-import-custom-options.test.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ define([
2626
data = [{
2727
'options': [
2828
{
29-
'sort_order': 1,
3029
'option_id': 1,
3130
'option_type_id': 1,
3231
'values': [{
@@ -36,7 +35,6 @@ define([
3635
}]
3736
},
3837
{
39-
'sort_order': 2,
4038
'option_id': 2,
4139
'option_type_id': 2,
4240
'values': [{

0 commit comments

Comments
 (0)