This commit is contained in:
Daniel 2023-06-08 15:42:16 +08:00
parent 8ad84ec6f7
commit f4055c55c4
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 6 additions and 6 deletions

View file

@ -28,16 +28,14 @@ import (
"github.com/siyuan-note/siyuan/kernel/treenode"
)
func RenderAttributeView(avID string) (dom string, err error) {
func RenderAttributeView(avID string) (ret *av.AttributeView, err error) {
waitForSyncingStorages()
attrView, err := av.ParseAttributeView(avID)
ret, err = av.ParseAttributeView(avID)
if nil != err {
logging.LogErrorf("parse attribute view [%s] failed: %s", avID, err)
return
}
_ = attrView
return
}