feat: Visualize SqlLab.Query model data in Explore 📈 (#20281)

This commit is contained in:
Hugh A. Miles II
2022-07-15 19:34:02 -04:00
committed by GitHub
parent c70d102b73
commit e5e8867394
61 changed files with 2510 additions and 610 deletions

View File

@@ -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>
))}