🎨 Improve database editing https://github.com/siyuan-note/siyuan/issues/12343
This commit is contained in:
parent
11f5d29c29
commit
886f2d0ce7
1 changed files with 3 additions and 1 deletions
|
@ -3037,7 +3037,9 @@ func UpdateAttributeViewCell(tx *Transaction, avID, keyID, rowID, cellID string,
|
|||
if !val.IsDetached { // 现在绑定了块
|
||||
// 将游离行绑定到新建的块上
|
||||
bindBlockAv(tx, avID, rowID)
|
||||
val.BlockID = val.Block.ID
|
||||
if nil != val.Block {
|
||||
val.BlockID = val.Block.ID
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// 之前绑定了块
|
||||
|
|
Loading…
Add table
Reference in a new issue