This commit is contained in:
Daniel 2025-07-27 19:07:52 +08:00
parent 9e819955ef
commit fd89e77f37
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -3161,6 +3161,12 @@ func removeAttributeViewBlock(srcIDs []string, avID string, tx *Transaction) (er
for _, blockID := range srcIDs {
view.ItemIDs = gulu.Str.RemoveElem(view.ItemIDs, blockID)
}
for _, groupView := range view.Groups {
for _, blockID := range srcIDs {
groupView.ItemIDs = gulu.Str.RemoveElem(groupView.ItemIDs, blockID)
}
}
}
relatedAvIDs := av.GetSrcAvIDs(avID)