mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
fix(views/table): regression in restoring column width
This commit is contained in:
@@ -111,7 +111,7 @@ export function restoreExistingData(newDefs: ColumnDefinition[], oldDefs: Column
|
||||
.filter(item => (item.field && newItemsByField.has(item.field!)) || item.title === "#")
|
||||
.map(oldItem => {
|
||||
const data = newItemsByField.get(oldItem.field!)!;
|
||||
if (oldItem.resizable && oldItem.width !== undefined) {
|
||||
if (oldItem.resizable !== false && oldItem.width !== undefined) {
|
||||
data.width = oldItem.width;
|
||||
}
|
||||
if (oldItem.visible !== undefined) {
|
||||
|
||||
Reference in New Issue
Block a user