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

This commit is contained in:
Daniel 2024-03-31 23:58:46 +08:00
parent 207330be7a
commit 85da3928be
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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)