@qite/tide-booking-component 1.4.117 → 1.4.118

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.
@@ -43212,7 +43212,7 @@ var FlyIn = function (_a) {
43212
43212
  }
43213
43213
  };
43214
43214
  var onHandleConfirm = function () {
43215
- if (context === null || context === void 0 ? void 0 : context.packagingEntry) {
43215
+ if ((context === null || context === void 0 ? void 0 : context.packagingEntry) || srpType === build.PortalQsmType.AccommodationAndFlight) {
43216
43216
  handleConfirm === null || handleConfirm === void 0 ? void 0 : handleConfirm();
43217
43217
  } else {
43218
43218
  dispatch(setBookPackagingEntry(true));
@@ -43045,7 +43045,7 @@ var FlyIn = function (_a) {
43045
43045
  }
43046
43046
  };
43047
43047
  var onHandleConfirm = function () {
43048
- if (context === null || context === void 0 ? void 0 : context.packagingEntry) {
43048
+ if ((context === null || context === void 0 ? void 0 : context.packagingEntry) || srpType === build.PortalQsmType.AccommodationAndFlight) {
43049
43049
  handleConfirm === null || handleConfirm === void 0 ? void 0 : handleConfirm();
43050
43050
  } else {
43051
43051
  dispatch(setBookPackagingEntry(true));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qite/tide-booking-component",
3
- "version": "1.4.117",
3
+ "version": "1.4.118",
4
4
  "description": "React Booking wizard & Booking product component for Tide",
5
5
  "main": "build/build-cjs/index.js",
6
6
  "types": "build/build-cjs/src/index.d.ts",
@@ -127,7 +127,7 @@ const FlyIn: React.FC<FlyInProps> = ({
127
127
  };
128
128
 
129
129
  const onHandleConfirm = () => {
130
- if (context?.packagingEntry) {
130
+ if (context?.packagingEntry || srpType === PortalQsmType.AccommodationAndFlight) {
131
131
  handleConfirm?.();
132
132
  } else {
133
133
  dispatch(setBookPackagingEntry(true));