This commit is contained in:
Daniel 2024-07-25 17:34:47 +08:00
parent a53d558987
commit db6f17e91c
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -1878,6 +1878,10 @@ func AddAttributeViewBlock(tx *Transaction, srcs []map[string]interface{}, avID,
now := time.Now().UnixMilli()
for _, src := range srcs {
srcID := src["id"].(string)
if !ast.IsNodeIDPattern(srcID) {
continue
}
isDetached := src["isDetached"].(bool)
var tree *parse.Tree
if !isDetached {