mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 15: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
|
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)
|
attrView, err := av.ParseAttributeView(avID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
|
|
@ -716,7 +716,6 @@ func ChangeAttrViewLayout(blockID, avID string, layout av.LayoutType) (err error
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
newLayout := layout
|
|
||||||
if newLayout == view.LayoutType {
|
if newLayout == view.LayoutType {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue