Skip to content

Commit 8c0a49f

Browse files
authored
fix: 标注信息仅展示标签字段即可 (#401)
1 parent c84ad5d commit 8c0a49f

File tree

1 file changed

+1
-3
lines changed
  • frontend/src/pages/DataManagement/Detail/components

1 file changed

+1
-3
lines changed

frontend/src/pages/DataManagement/Detail/components/Overview.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -698,9 +698,7 @@ export default function Overview({ dataset, filesOperation, fetchDataset }) {
698698
</span>
699699
<span>
700700
{(() => {
701-
const raw = (previewFileDetail?.annotation
702-
?? previewFileDetail?.metadata
703-
?? previewFileDetail?.tags) as any;
701+
const raw = previewFileDetail?.tags as any;
704702
if (!raw) return "-";
705703

706704
if (typeof raw === "string") {

0 commit comments

Comments
 (0)