mirror of
https://github.com/apache/superset.git
synced 2026-04-22 17:45:21 +00:00
feat: Visualize SqlLab.Query model data in Explore 📈 (#20281)
This commit is contained in:
@@ -152,11 +152,7 @@ const TableElement = ({ table, actions, ...props }: TableElementProps) => {
|
||||
if (table?.indexes?.length) {
|
||||
keyLink = (
|
||||
<ModalTrigger
|
||||
modalTitle={
|
||||
<div>
|
||||
{t('Keys for table')} <strong>{table.name}</strong>
|
||||
</div>
|
||||
}
|
||||
modalTitle={`${t('Keys for table')} ${table.name}`}
|
||||
modalBody={table.indexes.map((ix, i) => (
|
||||
<pre key={i}>{JSON.stringify(ix, null, ' ')}</pre>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user