Skip to content

Commit b89ddac

Browse files
committed
MAGETWO-58220: Unable to "Add Products Manually" for Configurable product
1 parent 83f4f2e commit b89ddac

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

app/code/Magento/Ui/view/base/web/js/dynamic-rows/dynamic-rows.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,11 @@ define([
316316
}, this);
317317
}
318318

319-
this.pagesChanged[this.currentPage()] =
320-
!compareArrays(this.defaultPagesState[this.currentPage()], this.arrayFilter(this.getChildItems()));
321-
this.changed(_.some(this.pagesChanged));
319+
if (this.defaultPagesState[this.currentPage()]) {
320+
this.pagesChanged[this.currentPage()] =
321+
!compareArrays(this.defaultPagesState[this.currentPage()], this.arrayFilter(this.getChildItems()));
322+
this.changed(_.some(this.pagesChanged));
323+
}
322324
},
323325

324326
/**

0 commit comments

Comments
 (0)