You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by bb...@apache.org on 2022/04/12 21:17:00 UTC
[airflow] branch hide-pagination created (now 6261eea9e7)
This is an automated email from the ASF dual-hosted git repository.
bbovenzi pushed a change to branch hide-pagination
in repository https://gitbox.apache.org/repos/asf/airflow.git
at 6261eea9e7 Hide pagination when data is a single page
This branch includes the following new commits:
new 6261eea9e7 Hide pagination when data is a single page
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[airflow] 01/01: Hide pagination when data is a single page
Posted by bb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
bbovenzi pushed a commit to branch hide-pagination
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 6261eea9e721c6baf9e072822476571d88d12982
Author: Brent Bovenzi <br...@gmail.com>
AuthorDate: Tue Apr 12 17:16:37 2022 -0400
Hide pagination when data is a single page
---
airflow/www/static/js/tree/Table.jsx | 2 ++
1 file changed, 2 insertions(+)
diff --git a/airflow/www/static/js/tree/Table.jsx b/airflow/www/static/js/tree/Table.jsx
index 06eb84cad4..aef91ce905 100644
--- a/airflow/www/static/js/tree/Table.jsx
+++ b/airflow/www/static/js/tree/Table.jsx
@@ -146,6 +146,7 @@ const Table = ({
})}
</Tbody>
</ChakraTable>
+ {totalEntries > data.length && (
<Flex alignItems="center" justifyContent="flex-start" my={4}>
<IconButton
variant="ghost"
@@ -169,6 +170,7 @@ const Table = ({
{totalEntries}
</Text>
</Flex>
+ )}
</>
);
};