mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-28 04:18:48 +01:00
🎨 Adding rows after setting the sort field in the database table view no longer fills in the default value https://github.com/siyuan-note/siyuan/issues/10486
This commit is contained in:
parent
03414a4e9e
commit
49031aaca7
1 changed files with 4 additions and 0 deletions
|
|
@ -1728,6 +1728,10 @@ func addAttributeViewBlock(avID, previousBlockID, blockID string, isDetached boo
|
|||
continue
|
||||
}
|
||||
|
||||
if av.KeyTypeRollup == cell.ValueType || av.KeyTypeRelation == cell.ValueType || av.KeyTypeCreated == cell.ValueType || av.KeyTypeUpdated == cell.ValueType || av.KeyTypeTemplate == cell.ValueType {
|
||||
continue
|
||||
}
|
||||
|
||||
newValue := cell.Value.Clone()
|
||||
newValue.ID = ast.NewNodeID()
|
||||
newValue.BlockID = blockID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue