Browse Source

Merge pull request #45 from zilliztech/issue-42

fix primaryKey
ryjiang 3 years ago
parent
commit
f14b9e20d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/src/pages/query/Query.tsx

+ 1 - 1
client/src/pages/query/Query.tsx

@@ -268,7 +268,7 @@ const Query: FC<{
             disablePadding: false,
             label: i.name,
           }))}
-          primaryKey={fields.find(i => i.is_primary_key)?.name}
+          primaryKey={primaryKey}
           openCheckBox={true}
           isLoading={!!tableLoading}
           rows={result}