mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🎨 Improve av https://github.com/siyuan-note/siyuan/issues/15528
This commit is contained in:
parent
9eec8510b7
commit
91a9b27789
1 changed files with 1 additions and 1 deletions
|
@ -3040,7 +3040,7 @@ func addAttributeViewBlock(now int64, avID, dbBlockID, groupID, previousItemID,
|
|||
// 检查是否重复添加相同的块
|
||||
blockValues := attrView.GetBlockKeyValues()
|
||||
for _, blockValue := range blockValues.Values {
|
||||
if blockValue.Block.ID == addingBoundBlockID {
|
||||
if "" != addingBoundBlockID && blockValue.Block.ID == addingBoundBlockID {
|
||||
if !isDetached {
|
||||
// 重复绑定一下,比如剪切数据库块、取消绑定块后再次添加的场景需要
|
||||
bindBlockAv0(tx, avID, node, tree)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue