versacall-core-library-react 2.0.51 → 2.0.53

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.
@@ -103,10 +103,9 @@ function CoreToolbar(props) {
103
103
  e.preventDefault();
104
104
 
105
105
  if (!saveDisabled) {
106
- console.log('calling save');
106
+ // console.log('calling save');
107
107
  handleSave();
108
- } else {
109
- console.log('save disabled');
108
+ } else {// console.log('save disabled');
110
109
  }
111
110
  /* } else if (e.altKey && e.keyCode === 115) {
112
111
  // ALT+F4
@@ -122,8 +121,7 @@ function CoreToolbar(props) {
122
121
  } */
123
122
 
124
123
  }
125
- } else {
126
- console.log('hotkeys disabled');
124
+ } else {// console.log('hotkeys disabled');
127
125
  }
128
126
  }, [disableHotkeys, saveDisabled, handleSave]);
129
127
 
@@ -163,6 +161,10 @@ function CoreToolbar(props) {
163
161
  id: '__save'
164
162
  }), " (Ctrl+S)"),
165
163
  "aria-label": "save"
164
+ }, /*#__PURE__*/_react.default.createElement(_Badge.default, {
165
+ badgeContent: "!",
166
+ color: "error",
167
+ invisible: !warning
166
168
  }, /*#__PURE__*/_react.default.createElement(_Button.default, {
167
169
  variant: "contained",
168
170
  color: "primary",
@@ -176,10 +178,6 @@ function CoreToolbar(props) {
176
178
  id: '__save'
177
179
  }),
178
180
  disabled: props.saveDisabled
179
- }, /*#__PURE__*/_react.default.createElement(_Badge.default, {
180
- badgeContent: "!",
181
- color: "error",
182
- invisible: !warning
183
181
  }, /*#__PURE__*/_react.default.createElement(_Save.default, {
184
182
  className: classes.iconStyle
185
183
  }), /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, {
package/package.json CHANGED
@@ -2,10 +2,10 @@
2
2
  "versacall": {
3
3
  "title": "Versacall Core Library React",
4
4
  "applicationType": "react-library",
5
- "build": 51
5
+ "build": 53
6
6
  },
7
7
  "name": "versacall-core-library-react",
8
- "version": "2.0.51",
8
+ "version": "2.0.53",
9
9
  "description": "Versacall Core Library",
10
10
  "main": "dist/index.js",
11
11
  "module": "dist/index.js",