mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 Support modifying the primary key value of the binding block https://github.com/siyuan-note/siyuan/issues/9892
This commit is contained in:
parent
a85c84ae23
commit
472539dbb7
1 changed files with 4 additions and 1 deletions
|
|
@ -1766,7 +1766,10 @@ func UpdateAttributeViewCell(tx *Transaction, avID, keyID, rowID, cellID string,
|
||||||
}
|
}
|
||||||
|
|
||||||
var val *av.Value
|
var val *av.Value
|
||||||
oldIsDetached := blockVal.IsDetached
|
oldIsDetached := true
|
||||||
|
if nil != blockVal {
|
||||||
|
oldIsDetached = blockVal.IsDetached
|
||||||
|
}
|
||||||
for _, keyValues := range attrView.KeyValues {
|
for _, keyValues := range attrView.KeyValues {
|
||||||
if keyID != keyValues.Key.ID {
|
if keyID != keyValues.Key.ID {
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue