This commit is contained in:
Daniel 2025-08-09 20:46:21 +08:00
parent 7b1b36d3ab
commit 087d2522fe
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 2 additions and 20 deletions

View file

@ -362,10 +362,8 @@ func getRenderAttributeViewView(attrView *av.AttributeView, viewID, blockID stri
}
if "" == viewID && "" != blockID {
node, _, getErr := getNodeByBlockID(nil, blockID)
if nil != getErr {
logging.LogWarnf("get node by block ID [%s] failed: %s", blockID, getErr)
} else {
node, _, _ := getNodeByBlockID(nil, blockID)
if nil != node {
viewID = node.IALAttr(av.NodeAttrView)
}
}