Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: fix https://ld246.com/article/1707969529099

Vanessad89457eae658
diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts
index cb25be85a2..7adc25d38e 100644
--- a/app/src/protyle/render/av/cell.ts
+++ b/app/src/protyle/render/av/cell.ts
@@ -142,6 +142,11 @@ export const genCellValue = (colType: TAVCol, value: string | any) => {
isNotTime: true,
}
};
+ } else if (colType === "relation") {
+ cellValue = {
+ type: colType,
+ relation: {blockIDs: [], contents: [value]}
+ };
}
} else if (typeof value === "undefined" || !value) {
if (colType === "number") {