pixelize-design-library 2.2.161 → 2.2.162

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -54,8 +54,8 @@ var useTable = function (_a) {
54
54
  (0, react_1.useEffect)(function () {
55
55
  var columnPreference = tablePreferences;
56
56
  if (Array.isArray(columnPreference) && columnPreference.length > 0) {
57
- var mergedColumns = columns.map(function (originalCol) {
58
- var prefCol = columnPreference.find(function (c) { return c.id === originalCol.id; });
57
+ var mergedColumns = columnPreference.map(function (originalCol) {
58
+ var prefCol = columns.find(function (c) { return c.id === originalCol.id; });
59
59
  return prefCol
60
60
  ? mergeColumnWithPreference(originalCol, prefCol)
61
61
  : __assign({}, originalCol);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixelize-design-library",
3
- "version": "2.2.161",
3
+ "version": "2.2.162",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",