@nuskin/ns-shop 7.0.7-cx16-11056.1 → 7.0.7-cx16-11056.2
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.
- package/package.json +1 -1
- package/src/salesEventService.js +1 -1
package/package.json
CHANGED
package/src/salesEventService.js
CHANGED
|
@@ -152,7 +152,7 @@ async function getEventStatus(eventsToCheck = []) {
|
|
|
152
152
|
eventsToCheck.forEach((eventName) => {
|
|
153
153
|
let activeStatus = false;
|
|
154
154
|
const ticketInfo = eventTicketInfoMap[eventName];
|
|
155
|
-
if (ticketInfo.ticket) {
|
|
155
|
+
if (ticketInfo && ticketInfo.ticket) {
|
|
156
156
|
const status = _decodeStatus(ticketInfo.ticket.status);
|
|
157
157
|
if ((status.eventStatus === PRE_EVENT && status.preWaitTime <= 30000) ||
|
|
158
158
|
status.eventStatus === IN_EVENT) {
|