🎨 Auto verify the database name when clicking the block superscript icon https://github.com/siyuan-note/siyuan/issues/10861

This commit is contained in:
Daniel 2024-04-08 17:31:10 +08:00
parent 1ef5e8722a
commit 6ad2296082
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -286,11 +286,13 @@ func GetBlockAttributeViewKeys(blockID string) (ret []*BlockAttributeViewKeys) {
attrView, err := av.ParseAttributeView(avID)
if nil != err {
logging.LogErrorf("parse attribute view [%s] failed: %s", avID, err)
unbindBlockAv(nil, avID, blockID)
return
}
if 1 > len(attrView.Views) {
err = av.ErrViewNotFound
unbindBlockAv(nil, avID, blockID)
return
}