@crystaldesign/diva-archive 26.3.0-beta.52 → 26.3.0-beta.54

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.
@@ -621,10 +621,6 @@ function placeOrderAction(_ref5) {
621
621
  }
622
622
  return _context4.abrupt("return");
623
623
  case 2:
624
- // Add sendOrdersEmail to the 'to' field, with a comma if action.to already has content
625
- if (organization.settings.sendOrdersEmail) {
626
- action.to = action.to ? "".concat(action.to, ",").concat(organization.settings.sendOrdersEmail) : organization.settings.sendOrdersEmail;
627
- }
628
624
  triggerSendEmail({
629
625
  sendEmail: sendEmail,
630
626
  t: t,
@@ -648,7 +644,7 @@ function placeOrderAction(_ref5) {
648
644
  }
649
645
  });
650
646
  _context3.next = 4;
651
- return setOrdered(apiConfig, organization._id, jwt, item.DivaNr, parseInt(item.DocumentVersion));
647
+ return setOrdered(apiConfig, item.OrganizationId, jwt, item.DivaNr, parseInt(item.DocumentVersion));
652
648
  case 4:
653
649
  updateOne(_objectSpread$2(_objectSpread$2({}, item), {}, {
654
650
  OrderStatus: 'SEND'
@@ -673,7 +669,7 @@ function placeOrderAction(_ref5) {
673
669
  return callback;
674
670
  }()
675
671
  });
676
- case 4:
672
+ case 3:
677
673
  case "end":
678
674
  return _context4.stop();
679
675
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-archive",
3
- "version": "26.3.0-beta.52",
3
+ "version": "26.3.0-beta.54",
4
4
  "license": "COMMERCIAL",
5
5
  "devDependencies": {
6
6
  "@testing-library/jest-dom": "^6.5.0",
@@ -15,10 +15,10 @@
15
15
  "react-dom": "^18.3.1"
16
16
  },
17
17
  "dependencies": {
18
- "@crystaldesign/grid": "26.3.0-beta.52",
18
+ "@crystaldesign/grid": "26.3.0-beta.54",
19
19
  "flat": "^5.0.2"
20
20
  },
21
21
  "module": "build/esm/index.js",
22
22
  "types": "./build/types/archive/src/index.d.ts",
23
- "gitHead": "daa38781865a6fdf19f939193292187e94613de3"
23
+ "gitHead": "dbb0654feef32245af6adf53f099bd996fb235fb"
24
24
  }