mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 Select field is added by default when creating a database https://github.com/siyuan-note/siyuan/issues/10720
This commit is contained in:
parent
f0fd8f9b90
commit
db3df51680
7 changed files with 17 additions and 9 deletions
|
|
@ -596,7 +596,7 @@ func RenderAttributeView(avID, viewID, query string, page, pageSize int) (viewab
|
|||
|
||||
func renderAttributeView(attrView *av.AttributeView, viewID, query string, page, pageSize int) (viewable av.Viewable, err error) {
|
||||
if 1 > len(attrView.Views) {
|
||||
view, _ := av.NewTableViewWithBlockKey(ast.NewNodeID())
|
||||
view, _, _ := av.NewTableViewWithBlockKey(ast.NewNodeID())
|
||||
attrView.Views = append(attrView.Views, view)
|
||||
attrView.ViewID = view.ID
|
||||
if err = av.SaveAttributeView(attrView); nil != err {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue