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 9d6930c commit 896ca96Copy full SHA for 896ca96
app/code/Magento/Ui/view/base/web/js/dynamic-rows/dynamic-rows.js
@@ -722,6 +722,8 @@ define([
722
* @param {Number} page - current page
723
*/
724
changePage: function (page) {
725
+ this.clear();
726
+
727
if (page === 1 && !this.recordData().length) {
728
return false;
729
}
@@ -763,15 +765,13 @@ define([
763
765
* Change page to next
764
766
767
nextPage: function () {
- this.clear();
768
this.currentPage(this.currentPage() + 1);
769
},
770
771
/**
772
* Change page to previous
773
774
previousPage: function () {
775
this.currentPage(this.currentPage() - 1);
776
777
0 commit comments