We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e0bd1c commit 0111e09Copy full SHA for 0111e09
app/code/Magento/Swatches/view/base/web/js/swatch-renderer.js
@@ -1249,7 +1249,7 @@ define([
1249
_setImageType: function (images) {
1250
var initial = this.options.mediaGalleryInitial[0].img;
1251
1252
- if (images[0].img === initial && images.length === this.options.mediaGalleryInitial.length) {
+ if (images[0].img === initial && images.length === 1) {
1253
images = $.extend(true, [], this.options.mediaGalleryInitial);
1254
} else {
1255
images.map(function (img) {
0 commit comments