react-msaview 1.3.0 → 1.3.1

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.
package/bundle/index.js CHANGED
@@ -89097,7 +89097,7 @@
89097
89097
  }, variant: "contained", color: "primary" }, "Submit")))));
89098
89098
  });
89099
89099
 
89100
- var version = "1.2.11";
89100
+ var version = "1.3.0";
89101
89101
 
89102
89102
  function LicenseDialog(_a) {
89103
89103
  var onClose = _a.onClose, open = _a.open;
@@ -96659,7 +96659,9 @@
96659
96659
  self.selectedStructures = [];
96660
96660
  },
96661
96661
  setError: function (error) {
96662
- console.error(error);
96662
+ if (error) {
96663
+ console.error(error);
96664
+ }
96663
96665
  self.error = error;
96664
96666
  },
96665
96667
  setMousePos: function (col, row) {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.2.11",
2
+ "version": "1.3.0",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
package/dist/model.js CHANGED
@@ -295,7 +295,9 @@ var MSAModel = types
295
295
  self.selectedStructures = [];
296
296
  },
297
297
  setError: function (error) {
298
- console.error(error);
298
+ if (error) {
299
+ console.error(error);
300
+ }
299
301
  self.error = error;
300
302
  },
301
303
  setMousePos: function (col, row) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.0",
2
+ "version": "1.3.1",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",