Skip to content

Commit ddd9efc

Browse files
committed
fix: Update table filtering condition for unique index counts
(cherry picked from commit ada8b81)
1 parent 5b92df8 commit ddd9efc

File tree

1 file changed

+1
-1
lines changed
  • packages/dag/src/components/form/table-list-card

1 file changed

+1
-1
lines changed

packages/dag/src/components/form/table-list-card/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const TableListCard = observer(
3232
let map = {}
3333
let items = data?.items || []
3434
items.forEach(t => {
35-
if (t.tableComment || t.primaryKeyCounts) {
35+
if (t.uniqueIndexCounts || t.primaryKeyCounts) {
3636
map[t.tableName] = t
3737
}
3838
})

0 commit comments

Comments
 (0)