mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-27 03:48:48 +01:00
🎨 Update av
This commit is contained in:
parent
6b3e0e7a35
commit
317f52c8cb
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ func addAttributeViewColumn(name string, typ string, avID string) (err error) {
|
|||
colType := av.ColumnType(typ)
|
||||
switch colType {
|
||||
case av.ColumnTypeText:
|
||||
col := &av.Column{ID: "av" + ast.NewNodeID(), Name: name, Type: colType}
|
||||
col := &av.Column{ID: ast.NewNodeID(), Name: name, Type: colType}
|
||||
attrView.Columns = append(attrView.Columns, col)
|
||||
for _, row := range attrView.Rows {
|
||||
row.Cells = append(row.Cells, av.NewCell(colType))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue