From 85da3928beb1cd6719caae08a1230550b1c578d1 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sun, 31 Mar 2024 23:58:46 +0800 Subject: [PATCH] :bug: Attribute panel - Database template custom attributes not shown Fix https://github.com/siyuan-note/siyuan/issues/10812 --- kernel/model/attribute_view.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go index ec66f5c33..5be4f36c9 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)