Skip to content

Commit

Permalink
fix(datagrid-web): apply fix to dg
Browse files Browse the repository at this point in the history
  • Loading branch information
rahmanunver committed Jan 31, 2025
1 parent 99d7410 commit ae05bc8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/pluggableWidgets/datagrid-web/src/Datagrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ const Container = observer((props: Props): ReactElement => {
return false;
}

if (!props.datasource.hasMoreItems) {
return false;
if (props.datasource.status === ValueStatus.Loading) {
return true;
}

return props.datasource.status === ValueStatus.Loading;
}, [exportProgress, isRefreshing, props.datasource.status, props.datasource.hasMoreItems]);
return false;
}, [exportProgress, isRefreshing, props.datasource.status]);

const showPagingButtonsOrRows = props.pagination === "buttons" ? props.showPagingButtons : props.showNumberOfRows;

Expand Down

0 comments on commit ae05bc8

Please sign in to comment.