refactor(Name_column): Make 'Name' column of Saved Query page into links (#31312)

This commit is contained in:
Levis Mbote 2024-12-06 00:17:30 +03:00 committed by GitHub
parent 827fe06903
commit 6af22a9cdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -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',