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 8b59433 commit 01ef988Copy full SHA for 01ef988
app/code/Magento/Ui/view/base/web/js/dynamic-rows/dynamic-rows.js
@@ -689,10 +689,13 @@ define([
689
* @param {Number|String} prop - additional property to element
690
*/
691
processingAddChild: function (ctx, index, prop) {
692
+ var newTotal,
693
+ newPages;
694
+
695
this.bubble('addChild', false);
696
- var newTotal = this.relatedData.length + 1;
- var newPages = Math.ceil(newTotal / this.pageSize);
697
+ newTotal = this.relatedData.length + 1;
698
+ newPages = Math.ceil(newTotal / this.pageSize);
699
700
this.pages(newPages);
701
this.currentPage(newPages);
0 commit comments