Skip to content

Commit 26bcc6c

Browse files
committed
ACP2E-104: [Magento Cloud] Customizable options Drag and drop issue
- Fixed the static test failure.
1 parent 5bc175b commit 26bcc6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Catalog/view/adminhtml/web/js/components/dynamic-rows-per-page.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ define([
5252
perPageSize: true
5353
},
5454
listens: {
55-
'perPageSize': 'onPageSizeChange',
55+
'perPageSize': 'onPageSizeChange'
5656
},
5757
modules: {
5858
sizes: '${ $.sizesConfig.name }'
@@ -102,7 +102,7 @@ define([
102102
* Handles changes of the page size.
103103
*/
104104
onPageSizeChange: function () {
105-
if (!!this.getRecordCount()) {
105+
if (this.getRecordCount()) {
106106
if (this.perPageSize !== undefined) {
107107
this.pageSize = this.perPageSize;
108108
this.reload();
@@ -112,6 +112,6 @@ define([
112112
} else {
113113
this.perPageSize = this.pageSize;
114114
}
115-
},
115+
}
116116
});
117117
});

0 commit comments

Comments
 (0)