Skip to content

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

:art: fix https://github.com/siyuan-note/siyuan/issues/11409

Vanessa5c761b6a17ef
diff --git a/app/src/protyle/render/av/select.ts b/app/src/protyle/render/av/select.ts
index 269e915c45..5ac5ce6d9f 100644
--- a/app/src/protyle/render/av/select.ts
+++ b/app/src/protyle/render/av/select.ts
@@ -570,6 +570,9 @@ export const mergeAddOption = (column: IAVColumn, cellValue: IAVCellValue, avID:
const doOperations: IOperation[] = [];
const undoOperations: IOperation[] = [];
cellValue.mSelect.forEach((item: IAVCellSelectValue) => {
+ if (!column.options) {
+ column.options = [];
+ }
const needAdd = column.options.find((option: {
name: string,
color: string,