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: Handle empty asset fields in database panels https://github.com/siyuan-note/siyuan/issues/18321
Danielf0a4df678d41
diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.tsindex 6e6e4c1ce5..8b1f5020e8 100644--- a/app/src/protyle/render/av/cell.ts+++ b/app/src/protyle/render/av/cell.ts@@ -65,7 +65,11 @@ export const getCellText = (cellElement: HTMLElement | false) => {export const genCellValueByElement = (colType: TAVCol, cellElement: HTMLElement) => {if (cellElement.dataset.avId && cellElement.dataset.cellValue) {- return JSON.parse(decodeURIComponent(cellElement.dataset.cellValue)) as IAVCellValue;+ const cellValue = JSON.parse(decodeURIComponent(cellElement.dataset.cellValue)) as IAVCellValue;+ if (colType === "mAsset" && !cellValue.mAsset) {+ cellValue.mAsset = [];+ }+ return cellValue;}const cellValue: IAVCellValue = {type: colType,