An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: fix https://github.com/siyuan-note/siyuan/issues/10068
Vanessa2ee01c3f31d0
diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.tsindex d8afeda835..0f125b325a 100644--- a/app/src/protyle/render/av/cell.ts+++ b/app/src/protyle/render/av/cell.ts@@ -648,12 +648,13 @@ export const renderCell = (cellValue: IAVCellValue, wrap: boolean) => {} else if (cellValue.type === "rollup") {cellValue?.rollup?.contents?.forEach((item, index) => {const rollupText = ["select", "mSelect", "mAsset", "checkbox", "relation"].includes(item.type) ? renderCell(item, wrap) : renderRollup(item);- if (!rollupText && text && text.endsWith(", ")) {- text = text.substring(0, text.length - 2);- } else if (rollupText) {- text += rollupText + ((index === cellValue.rollup.contents.length - 1 || !rollupText) ? "" : ", ");+ if (rollupText) {+ text += rollupText + ", ";}});+ if (text && text.endsWith(", ")) {+ text = text.substring(0, text.length - 2);+ }} else if (cellValue.type === "relation") {cellValue?.relation?.contents?.forEach((item, index) => {text += `<span class="av__celltext--ref" style="margin-right: 8px" data-id="${cellValue?.relation?.blockIDs[index]}">${item}</span>`;