Skip to content

Commit df6ab51

Browse files
committed
MAGETWO-44228: Unable to set gift options in the shopping cart
1 parent a58cb7e commit df6ab51

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/GiftMessage/view/frontend/web/js/model/gift-options.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ define(['underscore', 'ko'],
2323
_.each(this.options(), function (data) {
2424
if (data.id === itemId) {
2525
option = data.value;
26+
27+
return false;
2628
}
2729
});
2830

2931
return option;
3032
}
31-
}
33+
};
3234
}
3335
);

0 commit comments

Comments
 (0)