mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
This commit is contained in:
parent
87501a1bdd
commit
75dd28b294
1 changed files with 1 additions and 1 deletions
|
|
@ -2348,7 +2348,7 @@ func addAttrViewView(avID, viewID, blockID string, layout av.LayoutType) (err er
|
||||||
switch firstView.LayoutType {
|
switch firstView.LayoutType {
|
||||||
case av.LayoutTypeTable:
|
case av.LayoutTypeTable:
|
||||||
for _, col := range firstView.Table.Columns {
|
for _, col := range firstView.Table.Columns {
|
||||||
view.Table.Columns = append(view.Table.Columns, &av.ViewTableColumn{BaseField: &av.BaseField{ID: col.ID}})
|
view.Table.Columns = append(view.Table.Columns, &av.ViewTableColumn{BaseField: &av.BaseField{ID: col.ID}, Width: col.Width})
|
||||||
}
|
}
|
||||||
case av.LayoutTypeGallery:
|
case av.LayoutTypeGallery:
|
||||||
for _, field := range firstView.Gallery.CardFields {
|
for _, field := range firstView.Gallery.CardFields {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue