🎨 Database table view supports synchronizing column width to other table views https://github.com/siyuan-note/siyuan/issues/11022

This commit is contained in:
Daniel 2025-07-11 11:34:31 +08:00
parent 0e8931ff12
commit f8c0778e1e
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -70,7 +70,7 @@ func syncAttrViewTableColWidth(operation *Operation) (err error) {
case av.LayoutTypeTable:
for _, column := range view.Table.Columns {
if column.ID == operation.KeyID {
width = operation.Data.(string)
width = column.Width
break
}
}