Skip to content

Commit

Permalink
Merge pull request #936 from 3YOURMIND/fix-table-reload-empty-rows
Browse files Browse the repository at this point in the history
fix(KtTable): revert all runtime changes from type refactor
  • Loading branch information
Isokaeder authored Jun 6, 2024
2 parents 7653c75 + 5d64ce8 commit 82f1009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kotti-ui/source/kotti-table/logic/column.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function didRestoreDestroyedColumns({
return (
// eslint-disable-next-line unicorn/explicit-length-check
columns.length &&
columns.reduce((sum, n) => (sum as number) + (n as number) === 0)
columns.reduce((sum, n) => (sum as number) + (n as number)) === 0
)
}

Expand Down

0 comments on commit 82f1009

Please sign in to comment.