🎨 Support modifying the primary key value of the binding block https://github.com/siyuan-note/siyuan/issues/9892

This commit is contained in:
Daniel 2023-12-18 21:13:53 +08:00
parent a85c84ae23
commit 472539dbb7
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -1766,7 +1766,10 @@ func UpdateAttributeViewCell(tx *Transaction, avID, keyID, rowID, cellID string,
}
var val *av.Value
oldIsDetached := blockVal.IsDetached
oldIsDetached := true
if nil != blockVal {
oldIsDetached = blockVal.IsDetached
}
for _, keyValues := range attrView.KeyValues {
if keyID != keyValues.Key.ID {
continue