Skip to content

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

:bug: Attribute panel - Database template custom attributes not shown Fix https://github.com/siyuan-note/siyuan/issues/10812

Daniel85da3928beb1
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go
index ec66f5c339..5be4f36c9a 100644
--- a/kernel/model/attribute_view.go
+++ b/kernel/model/attribute_view.go
@@ -417,7 +417,7 @@ func GetBlockAttributeViewKeys(blockID string) (ret []*BlockAttributeViewKeys) {
ial := map[string]string{}
block := getRowBlockValue(keyValues)
if nil != block && !block.IsDetached {
- ial = GetBlockAttrsWithoutWaitWriting(block.ID)
+ ial = GetBlockAttrsWithoutWaitWriting(block.BlockID)
}
kv.Values[0].Template.Content = renderTemplateCol(ial, flashcard, keyValues, kv.Key.Template)