Skip to content

Commit 7633c21

Browse files
committed
MAGETWO-53852: Event update works incorrectly
1 parent 80af025 commit 7633c21

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Ui/view/base/web/templates/dynamic-rows/templates

1 file changed

+2
-2
lines changed

app/code/Magento/Ui/view/base/web/templates/dynamic-rows/templates/default.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
</tr>
5050
</tbody>
5151

52-
<tfoot visible="element.addButton || (!!$data.recordData().length && (pages() > 1))">
52+
<tfoot visible="element.addButton || (!!element.getRecordCount() && (element.pages() > 1))">
5353
<tr>
5454
<td attr="{'colspan': element.getColumnsCount()}"
5555
visible="element.addButton || pages() > 1">
@@ -60,7 +60,7 @@
6060
<span text="addButtonLabel"/>
6161
</button>
6262

63-
<div class="admin__control-table-pagination" visible="!!element.getRecordCount() && pages() > 1">
63+
<div class="admin__control-table-pagination" visible="!!element.getRecordCount() && element.pages() > 1">
6464
<div class="admin__data-grid-pager">
6565
<button class="action-previous" type="button" data-bind="attr: {title: $t('Previous Page')}, click: previousPage, disable: isFirst()"></button>
6666
<input class="admin__control-text" type="number" data-bind="attr: {id: ++ko.uid}, value: currentPage">

0 commit comments

Comments
 (0)