nicob3y commented on code in PR #36881:
URL: https://github.com/apache/superset/pull/36881#discussion_r2728178184


##########
superset-frontend/plugins/plugin-chart-ag-grid-table/src/AgGridTable/index.tsx:
##########
@@ -593,11 +593,7 @@ const AgGridDataTable: FunctionComponent<AgGridTableProps> 
= memo(
         {serverPagination && (
           <Pagination
             currentPage={serverPaginationData?.currentPage || 0}
-            pageSize={
-              hasServerPageLengthChanged
-                ? serverPageLength
-                : serverPaginationData?.pageSize || 10
-            }
+            pageSize={serverPaginationData?.pageSize ?? serverPageLength}

Review Comment:
   Hmm, I'm sorry but I don't see any discrepancy in my test environment - 
maybe I'm missing it; however, if I undo my patch, I can clearly see the 
original problem reappear; not knowing what to do on my end, I'll let you 
suggest another solution.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to