@timardex/cluemart-shared 1.7.85 → 1.7.86

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.
@@ -731,11 +731,9 @@ function getEventScheduleStatusLabel(dateTime, onlyShowKnownStatuses) {
731
731
  return isKnownStatus ? status.replaceAll("_", " ").toLowerCase() : `Next event date: ${formatDate(dateTime.startDate, "date")}`;
732
732
  }
733
733
  function shouldShowEventActionsWithWeather(resourceType, dateTime, location) {
734
- return resourceType === "event" /* EVENT */ && Boolean(location) && Boolean(dateTime?.dateStatus) && ![
735
- "Ended" /* ENDED */,
736
- "Canceled" /* CANCELED */,
737
- "Started" /* STARTED */
738
- ].includes(dateTime.dateStatus);
734
+ return resourceType === "event" /* EVENT */ && Boolean(location) && Boolean(dateTime?.dateStatus) && !["Ended" /* ENDED */, "Canceled" /* CANCELED */].includes(
735
+ dateTime.dateStatus
736
+ );
739
737
  }
740
738
 
741
739
  // src/formFields/categories/clothingAndFashion.ts