Skip to content

Commit 48c8976

Browse files
ryantang247afc163
authored andcommitted
Fix fixed property not being inherited by children columns (#1303)
1 parent 1b655a7 commit 48c8976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/useColumns/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ function flatColumns<RecordType>(
7272
return [
7373
...list,
7474
...flatColumns(subColumns, mergedKey).map(subColum => ({
75-
fixed: parsedFixed,
7675
...subColum,
76+
fixed: subColum.fixed ?? parsedFixed,
7777
})),
7878
];
7979
}

0 commit comments

Comments
 (0)