thm-p3-configurator 0.0.231 → 0.0.232

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.
@@ -29,7 +29,6 @@ var _OrderSessionContext = require("../../__context__/OrderSessionContext");
29
29
  var _useIsSingleOrder = _interopRequireDefault(require("../../__hooks__/useIsSingleOrder"));
30
30
  var _useIsTmg = require("../../__hooks__/useIsTmg");
31
31
  var _LocalStorageWorker = require("../../__services__/LocalStorageWorker");
32
- var _OrderTypeSelectorModal = _interopRequireWildcard(require("./OrderTypeSelectorModal"));
33
32
  function _interopRequireDefault(e) {
34
33
  return e && e.__esModule ? e : {
35
34
  default: e
@@ -248,8 +247,7 @@ const InternalBranchSelectorModal = () => {
248
247
  }, [branchTypes, authSession]);
249
248
  const [{
250
249
  selectedBranch,
251
- existingDossierId,
252
- orderType
250
+ existingDossierId
253
251
  }, dispatch] = (0, _OrderSessionContext.useOrderSession)();
254
252
  const {
255
253
  myBranches,
@@ -274,13 +272,8 @@ const InternalBranchSelectorModal = () => {
274
272
  className: "thm-configurator-wrapper--offset"
275
273
  }, /*#__PURE__*/_react.default.createElement(_FullPageSpinner.default, null));
276
274
  }
277
- if ((shouldShowModalForSingleOrder || shouldShowModalForOtherPages) && isTMGOrganization && !orderType) {
278
- return /*#__PURE__*/_react.default.createElement(_OrderTypeSelectorModal.default, {
279
- isOpen: true
280
- });
281
- }
282
275
  return /*#__PURE__*/_react.default.createElement(_Modal.default, {
283
- isOpen: (shouldShowModalForSingleOrder || shouldShowModalForOtherPages) && !(isTMGOrganization && orderType === _OrderTypeSelectorModal.ORDER_TYPES.ONLINE),
276
+ isOpen: shouldShowModalForSingleOrder || shouldShowModalForOtherPages,
284
277
  title: 'Kies een vestiging:',
285
278
  size: "wide",
286
279
  hasSecondaryButton: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thm-p3-configurator",
3
- "version": "0.0.231",
3
+ "version": "0.0.232",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "author": "EnoRm.",