Skip to content

Commit

Permalink
feat: enable create index for primary key
Browse files Browse the repository at this point in the history
Signed-off-by: ryjiang <[email protected]>
  • Loading branch information
shanghaikid committed Sep 3, 2024
1 parent 74d00c4 commit 25cbaa3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const IndexTypeElement: FC<{
);

return tooltip ? (
<Tooltip interactive arrow title={tooltip} placement="top">
<Tooltip arrow title={tooltip} placement="top">
<div>
<IndexElem />
</div>
Expand All @@ -184,7 +184,6 @@ const IndexTypeElement: FC<{

const generateElement = () => {
if (
field.is_primary_key ||
NONE_INDEXABLE_DATA_TYPES.indexOf(
field.data_type as DataTypeStringEnum
) !== -1
Expand Down

0 comments on commit 25cbaa3

Please sign in to comment.