File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,11 +13,7 @@ export const WidgetFooter = observer(function WidgetFooter(): ReactElement | nul
1313 const selectionCounterVM = useSelectionCounterViewModel ( ) ;
1414 const customPagination = useCustomPagination ( ) ;
1515
16- const showFooter =
17- selectionCounterVM . isBottomCounterVisible ||
18- paging . paginationVisible ||
19- paging . showVirtualScrollingWithRowCount ||
20- paging . showLoadMore ;
16+ const showFooter = selectionCounterVM . isBottomCounterVisible || paging . paginationVisible || paging . loadMoreVisible ;
2117
2218 if ( ! showFooter ) {
2319 return null ;
@@ -31,7 +27,7 @@ export const WidgetFooter = observer(function WidgetFooter(): ReactElement | nul
3127 < SelectionCounter />
3228 </ If >
3329 </ div >
34- < If condition = { paging . hasMoreItems && paging . pagination === "loadMore" } >
30+ < If condition = { paging . loadMoreVisible } >
3531 < div className = "widget-datagrid-pb-middle" >
3632 < button
3733 className = "btn btn-primary widget-datagrid-load-more"
You can’t perform that action at this time.
0 commit comments