An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/9888
Vanessa16519d008205
diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.tsindex a09c0576b3..8528e6a68e 100644--- a/app/src/protyle/render/av/cell.ts+++ b/app/src/protyle/render/av/cell.ts@@ -141,6 +141,11 @@ export const genCellValue = (colType: TAVCol, value: string | any) => {checked: value ? true : false}};+ } else if (colType === "relation") {+ cellValue = {+ type: colType,+ relation: {blockIDs: [], contents: []}+ };}} else {if (colType === "mSelect" || colType === "select") {@@ -506,7 +511,7 @@ export const updateCellsValue = (protyle: IProtyle, nodeElement: HTMLElement, vaif (!rowElement) {return;}- const type = getTypeByCellElement(item) || item.dataset.type;+ const type = getTypeByCellElement(item) || item.dataset.type as TAVCol;if (["created", "updated", "template"].includes(type)) {return;}@@ -535,7 +540,7 @@ export const updateCellsValue = (protyle: IProtyle, nodeElement: HTMLElement, vaif (!hasClosestByClassName(cellElements[0], "custom-attr")) {updateAttrViewCellAnimation(item, cellValue);} else {- item.innerHTML = genAVValueHTML(cellValue)+ item.innerHTML = genAVValueHTML(cellValue)}});if (doOperations.length > 0) {