🎨 Add Rollup column to database table view https://github.com/siyuan-note/siyuan/issues/9958

This commit is contained in:
Daniel 2024-01-01 14:47:29 +08:00
parent ae8c0a1e8f
commit 246f08d7c2
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -275,6 +275,9 @@ func SaveAttributeView(av *AttributeView) (err error) {
}
for _, v := range kv.Values {
if "" == kv.Key.ID {
kv.Key.ID = ast.NewNodeID()
}
if "" == v.KeyID {
v.KeyID = kv.Key.ID
}