Fix #1878 Profiler tab should show the column constraints. (#1881)

This commit is contained in:
Sachin Chaurasiya 2021-12-22 11:39:16 +05:30 committed by GitHub
parent d303be847e
commit ae87195371
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,7 +108,7 @@ const TableProfiler = ({ tableProfiles, columns }: Props) => {
<i className="fas fa-caret-right" />
)}
</span>
{colIndex === 0 && (
{col.name.constraint && (
<span className="tw-mr-3 tw--ml-2">
{getConstraintIcon(
col.name.constraint,