This is an automated email from the ASF dual-hosted git repository.
elizabeth pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 88d07ce603 fix: only show dataset name in list (#29944)
88d07ce603 is described below
commit 88d07ce603ac74b9a096118f59cce1564dad578c
Author: Elizabeth Thompson <[email protected]>
AuthorDate: Thu Aug 15 09:24:51 2024 -0700
fix: only show dataset name in list (#29944)
---
superset-frontend/src/pages/ChartList/index.tsx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/superset-frontend/src/pages/ChartList/index.tsx
b/superset-frontend/src/pages/ChartList/index.tsx
index 60c7b5dafe..ce00d348d0 100644
--- a/superset-frontend/src/pages/ChartList/index.tsx
+++ b/superset-frontend/src/pages/ChartList/index.tsx
@@ -378,7 +378,11 @@ function ChartList(props: ChartListProps) {
datasource_url: dsUrl,
},
},
- }: any) => <GenericLink to={dsUrl}>{dsNameTxt}</GenericLink>,
+ }: any) => (
+ <Tooltip title={dsNameTxt} placement="top">
+ <GenericLink to={dsUrl}>{dsNameTxt?.split('.')[1]}</GenericLink>
+ </Tooltip>
+ ),
Header: t('Dataset'),
accessor: 'datasource_id',
disableSortBy: true,