This commit is contained in:
Liang Ding 2023-04-02 11:42:04 +08:00
parent 2d190bf708
commit e8e645f02b
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 19 additions and 2 deletions

View file

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