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 5bc175b commit 26bcc6cCopy full SHA for 26bcc6c
app/code/Magento/Catalog/view/adminhtml/web/js/components/dynamic-rows-per-page.js
@@ -52,7 +52,7 @@ define([
52
perPageSize: true
53
},
54
listens: {
55
- 'perPageSize': 'onPageSizeChange',
+ 'perPageSize': 'onPageSizeChange'
56
57
modules: {
58
sizes: '${ $.sizesConfig.name }'
@@ -102,7 +102,7 @@ define([
102
* Handles changes of the page size.
103
*/
104
onPageSizeChange: function () {
105
- if (!!this.getRecordCount()) {
+ if (this.getRecordCount()) {
106
if (this.perPageSize !== undefined) {
107
this.pageSize = this.perPageSize;
108
this.reload();
@@ -112,6 +112,6 @@ define([
112
} else {
113
this.perPageSize = this.pageSize;
114
}
115
- },
+ }
116
});
117
0 commit comments