mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
✨ Database kanban view https://github.com/siyuan-note/siyuan/issues/8873
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
b8538772f8
commit
2d8f4a3030
3 changed files with 9 additions and 1 deletions
|
|
@ -766,6 +766,11 @@ func (av *AttributeView) Clone() (ret *AttributeView) {
|
|||
for _, cardField := range view.Gallery.CardFields {
|
||||
cardField.ID = keyIDMap[cardField.ID]
|
||||
}
|
||||
case LayoutTypeKanban:
|
||||
view.Kanban.ID = ast.NewNodeID()
|
||||
for _, field := range view.Kanban.Fields {
|
||||
field.ID = keyIDMap[field.ID]
|
||||
}
|
||||
}
|
||||
view.ItemIDs = []string{}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue