@threedddplus/logoeditor 0.0.58 → 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.
@@ -9386,7 +9386,7 @@ var SaveDesign = function SaveDesign(_ref) {
9386
9386
  while (1) switch (_context.prev = _context.next) {
9387
9387
  case 0:
9388
9388
  if (isSaving) {
9389
- _context.next = 27;
9389
+ _context.next = 28;
9390
9390
  break;
9391
9391
  }
9392
9392
  if (checkValidations()) {
@@ -9447,6 +9447,7 @@ var SaveDesign = function SaveDesign(_ref) {
9447
9447
  S3UrlPath = _context.sent;
9448
9448
  canvas.backgroundColor = null;
9449
9449
  canvasSvg = canvas.toSVG();
9450
+ closeModal('', false, '', {});
9450
9451
  raw = JSON.stringify({
9451
9452
  customer_id: use3dddPlus.getState().customerId,
9452
9453
  tag: logoTag.join(','),
@@ -9481,13 +9482,12 @@ var SaveDesign = function SaveDesign(_ref) {
9481
9482
  setIsSaving(false);
9482
9483
  onSaveLogo(data);
9483
9484
  setLogoData(data);
9484
- closeModal('', false, '', {});
9485
9485
  use3dddPlus.getState().toastMessages.saveSuccess();
9486
9486
  })["catch"](function (ex) {
9487
9487
  setIsSaving(false);
9488
9488
  console.log('ERROR in Save Logo:', ex);
9489
9489
  });
9490
- case 27:
9490
+ case 28:
9491
9491
  case "end":
9492
9492
  return _context.stop();
9493
9493
  }