@threedddplus/logoeditor 0.0.57 → 0.0.59

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.
@@ -9378,7 +9378,7 @@ var SaveDesign = function SaveDesign(_ref) {
9378
9378
  while (1) switch (_context.prev = _context.next) {
9379
9379
  case 0:
9380
9380
  if (isSaving) {
9381
- _context.next = 27;
9381
+ _context.next = 28;
9382
9382
  break;
9383
9383
  }
9384
9384
  if (checkValidations()) {
@@ -9439,6 +9439,7 @@ var SaveDesign = function SaveDesign(_ref) {
9439
9439
  S3UrlPath = _context.sent;
9440
9440
  canvas.backgroundColor = null;
9441
9441
  canvasSvg = canvas.toSVG();
9442
+ closeModal('', false, '', {});
9442
9443
  raw = JSON.stringify({
9443
9444
  customer_id: use3dddPlus.getState().customerId,
9444
9445
  tag: logoTag.join(','),
@@ -9473,13 +9474,12 @@ var SaveDesign = function SaveDesign(_ref) {
9473
9474
  setIsSaving(false);
9474
9475
  onSaveLogo(data);
9475
9476
  setLogoData(data);
9476
- closeModal('', false, '', {});
9477
9477
  use3dddPlus.getState().toastMessages.saveSuccess();
9478
9478
  })["catch"](function (ex) {
9479
9479
  setIsSaving(false);
9480
9480
  console.log('ERROR in Save Logo:', ex);
9481
9481
  });
9482
- case 27:
9482
+ case 28:
9483
9483
  case "end":
9484
9484
  return _context.stop();
9485
9485
  }