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: Improve update database cell option https://github.com/siyuan-note/siyuan/issues/13439
Daniel2f39c2f1bcb0
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.goindex f1657231df..84cf00413d 100644--- a/kernel/model/attribute_view.go+++ b/kernel/model/attribute_view.go@@ -3115,7 +3115,7 @@ func UpdateAttributeViewCell(tx *Transaction, avID, keyID, rowID string, valueDa// 不存在的选项新建保存color := valOpt.Colorif "" == color {- color = fmt.Sprintf("%d", 1+rand.Intn(15))+ color = fmt.Sprintf("%d", 1+rand.Intn(14))}opt = &av.SelectOption{Name: valOpt.Content, Color: color}key.Options = append(key.Options, opt)