mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
✨ Attribute View (Database) https://github.com/siyuan-note/siyuan/issues/2829
This commit is contained in:
parent
8ad84ec6f7
commit
f4055c55c4
2 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue