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


##########
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:
   Please check the usage of hasServerPageLengthChanged , it was added due to 
handling of Server Page Size , Also i am unable to verify anything at all as 
the test environment shows no data so i cant confirm whether the discrepancy 
exists or not 



-- 
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