🎨 Clean code

This commit is contained in:
Daniel 2024-03-10 23:00:45 +08:00
parent f3fff63b7d
commit abfddf76a5
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 6 additions and 4 deletions

View file

@ -736,7 +736,7 @@ func GetDoc(startID, endID, id string, index int, query string, queryTypes map[s
// 填充属性视图角标 Display the database title on the block superscript https://github.com/siyuan-note/siyuan/issues/10545
avNames := getAvNames(n.IALAttr(av.NodeAttrNameAvs))
if "" != avNames {
n.SetIALAttr("av-names", avNames)
n.SetIALAttr(av.NodeAttrViewNames, avNames)
}
}