🎨 The database primary key field displays the icon of the bound doc https://github.com/siyuan-note/siyuan/issues/13378

This commit is contained in:
Daniel 2024-12-16 12:00:38 +08:00
parent b3b8266c72
commit f83abb9273
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -2011,7 +2011,7 @@ func addAttributeViewBlock(now int64, avID, blockID, previousBlockID, addingBloc
IsDetached: isDetached,
CreatedAt: now,
UpdatedAt: now,
Block: &av.ValueBlock{ID: addingBlockID, Content: addingBlockContent, Created: now, Updated: now}}
Block: &av.ValueBlock{ID: addingBlockID, Icon: blockIcon, Content: addingBlockContent, Created: now, Updated: now}}
blockValues.Values = append(blockValues.Values, blockValue)
// 如果存在过滤条件,则将过滤条件应用到新添加的块上