@open-tender/cloud
Advanced tools
Comparing version 0.1.90 to 0.1.91
@@ -74,4 +74,7 @@ "use strict"; | ||
const { revenueCenter } = getState().order; | ||
console.log('revenueCenter', revenueCenter); | ||
dispatch((0, order_1.resetOrder)()); | ||
const { serviceType, requestedAt } = getState().groupOrder; | ||
console.log('serviceType', serviceType); | ||
console.log('requestedAt', requestedAt); | ||
dispatch((0, order_1.setMenuVars)({ revenueCenter, serviceType, requestedAt })); | ||
@@ -78,0 +81,0 @@ dispatch((0, order_1.setCart)([])); |
@@ -274,2 +274,3 @@ "use strict"; | ||
setMenuVars: (state, action) => { | ||
console.log('action.payload', action.payload); | ||
const { revenueCenter } = action.payload; | ||
@@ -276,0 +277,0 @@ state = Object.assign(Object.assign(Object.assign({}, state), action.payload), { orderType: revenueCenter.revenue_center_type, isOutpost: revenueCenter.is_outpost }); |
@@ -69,4 +69,7 @@ import { __awaiter } from "tslib"; | ||
const { revenueCenter } = getState().order; | ||
console.log('revenueCenter', revenueCenter); | ||
dispatch(resetOrder()); | ||
const { serviceType, requestedAt } = getState().groupOrder; | ||
console.log('serviceType', serviceType); | ||
console.log('requestedAt', requestedAt); | ||
dispatch(setMenuVars({ revenueCenter, serviceType, requestedAt })); | ||
@@ -73,0 +76,0 @@ dispatch(setCart([])); |
@@ -269,2 +269,3 @@ import { __awaiter } from "tslib"; | ||
setMenuVars: (state, action) => { | ||
console.log('action.payload', action.payload); | ||
const { revenueCenter } = action.payload; | ||
@@ -271,0 +272,0 @@ state = Object.assign(Object.assign(Object.assign({}, state), action.payload), { orderType: revenueCenter.revenue_center_type, isOutpost: revenueCenter.is_outpost }); |
{ | ||
"name": "@open-tender/cloud", | ||
"version": "0.1.90", | ||
"version": "0.1.91", | ||
"description": "A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our cloud-based Order API.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
912279
20624