mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
🎨 Improve av https://github.com/siyuan-note/siyuan/issues/15567
This commit is contained in:
parent
91207ba529
commit
30b5473c76
1 changed files with 4 additions and 1 deletions
|
|
@ -242,6 +242,9 @@ func RenderTemplateField(ial map[string]string, keyValues []*av.KeyValues, tplCo
|
|||
return
|
||||
}
|
||||
ret = buf.String()
|
||||
if ret == "<no value>" {
|
||||
ret = ""
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
|
@ -506,7 +509,7 @@ func fillAttributeViewAutoGeneratedValues(attrView *av.AttributeView, collection
|
|||
}
|
||||
}
|
||||
|
||||
func fillAttributeViewTemplateValues(attrView *av.AttributeView, collection av.Collection, ials map[string]map[string]string, items map[string][]*av.KeyValues) (err error) {
|
||||
func fillAttributeViewTemplateValues(attrView *av.AttributeView, collection av.Collection, ials map[string]map[string]string, items map[string][]*av.KeyValues, renderedTemplateKeyCollections map[string]av.Collection) (err error) {
|
||||
existTemplateField := false
|
||||
for _, kVals := range attrView.KeyValues {
|
||||
if av.KeyTypeTemplate == kVals.Key.Type {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue