Skip to content

Commit 9117f2b

Browse files
author
Sergey Shvets
committed
MAGETWO-96594: Image Position issue with Associated Products
1 parent ac49d4b commit 9117f2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Swatches/view/frontend/web/js/swatch-renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ define([
695695
*/
696696
_sortImages: function (images) {
697697
return _.sortBy(images, function (image) {
698-
return (image.isMain === true) ? -1 : image.position;
698+
return image.isMain === true ? -1 : image.position;
699699
});
700700
},
701701

0 commit comments

Comments
 (0)