Skip to content

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

:recycle: Improve outline loading mechanism https://github.com/siyuan-note/siyuan/issues/10884

Danielbba92b30a659
diff --git a/kernel/model/transaction.go b/kernel/model/transaction.go
index 0bdd1f45d7..5b739bc045 100644
--- a/kernel/model/transaction.go
+++ b/kernel/model/transaction.go
@@ -1315,7 +1315,7 @@ func (tx *Transaction) commit() (err error) {
var sources []interface{}
for _, op := range tx.DoOperations {
- sources = append(sources, op.Action)
+ sources = append(sources, op)
}
util.PushSaveDoc(tree.ID, "tx", sources)
}