mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +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
bdff7a74c1
commit
8ada34f357
1 changed files with 1 additions and 2 deletions
|
|
@ -705,7 +705,7 @@ func (tx *Transaction) doChangeAttrViewLayout(operation *Operation) (ret *TxErr)
|
|||
return
|
||||
}
|
||||
|
||||
func ChangeAttrViewLayout(blockID, avID string, layout av.LayoutType) (err error) {
|
||||
func ChangeAttrViewLayout(blockID, avID string, newLayout av.LayoutType) (err error) {
|
||||
attrView, err := av.ParseAttributeView(avID)
|
||||
if err != nil {
|
||||
return
|
||||
|
|
@ -716,7 +716,6 @@ func ChangeAttrViewLayout(blockID, avID string, layout av.LayoutType) (err error
|
|||
return
|
||||
}
|
||||
|
||||
newLayout := layout
|
||||
if newLayout == view.LayoutType {
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue