Skip to content

Commit 1535e70

Browse files
committed
Merge remote-tracking branch 'origin/MAGETWO-58220' into BUGS
2 parents ac051fb + b89ddac commit 1535e70

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)