Fix an error that causes test failures (regression 9a5657b
)
This commit is contained in:
parent
5b9ac2ca53
commit
c510d91461
1 changed files with 1 additions and 1 deletions
|
@ -1333,7 +1333,7 @@ var Columns = class {
|
|||
for (let column of virtualizedTable.props.columns) {
|
||||
// Fixed width columns can sometimes somehow obtain a width property
|
||||
// this fixes it for users that may have run into the bug
|
||||
if (column.fixedWidth) {
|
||||
if (column.fixedWidth && typeof columnsSettings[column.dataKey] == "object") {
|
||||
delete columnsSettings[column.dataKey].width;;
|
||||
}
|
||||
column = Object.assign({}, column, columnsSettings[column.dataKey]);
|
||||
|
|
Loading…
Reference in a new issue