pierrejeambrun commented on code in PR #47826:
URL: https://github.com/apache/airflow/pull/47826#discussion_r2010298901


##########
airflow/ui/src/components/DataTable/DataTable.tsx:
##########
@@ -125,6 +133,12 @@ export const DataTable = <TData,>({
     <>
       <ProgressBar size="xs" visibility={Boolean(isFetching) && 
!Boolean(isLoading) ? "visible" : "hidden"} />
       <Toaster />
+      <HStack>
+        <Spacer display="flow" />
+        {allowFiltering && table.getRowCount() && display === "table" ? (

Review Comment:
   There's a `hasRows` variable already. Instead of doing `table.getRowCount()`



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

Reply via email to