flipper-ui 0.36.3 → 0.36.5

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.
@@ -38,7 +38,10 @@ var TableDialogPreferences = exports.TableDialogPreferences = function TableDial
38
38
  return col.name;
39
39
  });
40
40
  setColumnsTemporary === null || setColumnsTemporary === void 0 || setColumnsTemporary(initial);
41
- (0, _utils.setVisibleColumns)(initial, tableIdentifier);
41
+ };
42
+ var handleConfirm = function handleConfirm() {
43
+ (0, _utils.setVisibleColumns)(columnsTemporary, tableIdentifier);
44
+ onConfirm === null || onConfirm === void 0 || onConfirm();
42
45
  };
43
46
  return /*#__PURE__*/_react["default"].createElement(_dialog["default"], {
44
47
  fullWidth: true,
@@ -72,7 +75,7 @@ var TableDialogPreferences = exports.TableDialogPreferences = function TableDial
72
75
  }, "Restaurar prefer\xEAncias"), /*#__PURE__*/_react["default"].createElement(_actions["default"], {
73
76
  margin: "0 16px 16px 16px",
74
77
  onCancel: onCancel,
75
- onConfirm: onConfirm !== null && onConfirm !== void 0 ? onConfirm : function () {}
78
+ onConfirm: handleConfirm
76
79
  }))
77
80
  });
78
81
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flipper-ui",
3
- "version": "0.36.3",
3
+ "version": "0.36.5",
4
4
  "description": "React UI based on the @mui/material toolkit for the web",
5
5
  "main": "dist/index.js",
6
6
  "author": "NG",