You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2024/12/05 21:17:37 UTC
(superset) branch master updated: refactor(Name_column): Make 'Name' column of Saved Query page into links (#31312)
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin 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 6af22a9cdd refactor(Name_column): Make 'Name' column of Saved Query page into links (#31312)
6af22a9cdd is described below
commit 6af22a9cddaed67771b35eed8292922d1001a99f
Author: Levis Mbote <11...@users.noreply.github.com>
AuthorDate: Fri Dec 6 00:17:30 2024 +0300
refactor(Name_column): Make 'Name' column of Saved Query page into links (#31312)
---
superset-frontend/src/pages/SavedQueryList/index.tsx | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/superset-frontend/src/pages/SavedQueryList/index.tsx b/superset-frontend/src/pages/SavedQueryList/index.tsx
index 72836d6059..a65e6bcdf0 100644
--- a/superset-frontend/src/pages/SavedQueryList/index.tsx
+++ b/superset-frontend/src/pages/SavedQueryList/index.tsx
@@ -296,6 +296,11 @@ function SavedQueryList({
{
accessor: 'label',
Header: t('Name'),
+ Cell: ({
+ row: {
+ original: { id, label },
+ },
+ }: any) => <Link to={`/sqllab?savedQueryId=${id}`}>{label}</Link>,
},
{
accessor: 'description',