Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Vanessa 2023-09-05 16:39:44 +08:00
commit 554461fed8

View file

@ -518,6 +518,13 @@ func removeAttributeViewBlock(operation *Operation) (err error) {
for _, blockID := range operation.SrcIDs {
view.Table.RowIDs = gulu.Str.RemoveElem(view.Table.RowIDs, blockID)
if bt := treenode.GetBlockTree(blockID); nil != bt && "d" == bt.Type {
if tree, _ := loadTreeByBlockID(blockID); nil != tree {
tree.Root.RemoveIALAttr("custom-hidden")
writeJSONQueue(tree)
}
}
}
err = av.SaveAttributeView(attrView)