mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 Keep the width when duplicating database table view field https://github.com/siyuan-note/siyuan/issues/11552
This commit is contained in:
parent
22c94e9a68
commit
dcb1237af3
1 changed files with 2 additions and 0 deletions
|
|
@ -59,6 +59,8 @@ func RenderAttributeViewTable(attrView *av.AttributeView, view *av.View, query s
|
||||||
for _, col := range view.Table.Columns {
|
for _, col := range view.Table.Columns {
|
||||||
key, getErr := attrView.GetKey(col.ID)
|
key, getErr := attrView.GetKey(col.ID)
|
||||||
if nil != getErr {
|
if nil != getErr {
|
||||||
|
// 找不到字段则在视图中删除
|
||||||
|
|
||||||
switch view.LayoutType {
|
switch view.LayoutType {
|
||||||
case av.LayoutTypeTable:
|
case av.LayoutTypeTable:
|
||||||
for i, column := range view.Table.Columns {
|
for i, column := range view.Table.Columns {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue