diff --git a/packages/client/scan/src/components/ListTable.tsx b/packages/client/scan/src/components/ListTable.tsx
index 0e42d24f..7cc7a6ef 100644
--- a/packages/client/scan/src/components/ListTable.tsx
+++ b/packages/client/scan/src/components/ListTable.tsx
@@ -44,13 +44,15 @@ export default function ListTable({
if (item.schema) {
schemaOrModel = (
- {shortPubKey(item.schema, { len: 8, split: '-' })}
+ {item.modelOrSchemaName ||
+ shortPubKey(item.schema, { len: 8, split: '-' })}
)
} else if (item.model && (item.type === '0' || item.type === '3')) {
schemaOrModel = (
- {shortPubKey(item.model, { len: 8, split: '-' })}
+ {item.modelOrSchemaName ||
+ shortPubKey(item.model, { len: 8, split: '-' })}
)
}
diff --git a/packages/client/scan/src/types/index.ts b/packages/client/scan/src/types/index.ts
index 028d5d40..99fe5a26 100644
--- a/packages/client/scan/src/types/index.ts
+++ b/packages/client/scan/src/types/index.ts
@@ -13,6 +13,7 @@ export type Stream = {
hash: string
schema: string
model?: string
+ modelOrSchemaName?: string
anchorStatus: string
commitIds: string[]
content: Json