@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.
@@ -7,7 +7,7 @@ import {
7
7
  SCHOOL_MIN_STUDENT_COUNT,
8
8
  isValidIrdNumber,
9
9
  normalizeUrl
10
- } from "../chunk-5RXL62LO.mjs";
10
+ } from "../chunk-RCARDOVS.mjs";
11
11
  import {
12
12
  dateFormat,
13
13
  timeFormat
package/dist/index.cjs CHANGED
@@ -1743,11 +1743,9 @@ function getEventScheduleStatusLabel(dateTime, onlyShowKnownStatuses) {
1743
1743
  return isKnownStatus ? status.replaceAll("_", " ").toLowerCase() : `Next event date: ${formatDate(dateTime.startDate, "date")}`;
1744
1744
  }
1745
1745
  function shouldShowEventActionsWithWeather(resourceType, dateTime, location) {
1746
- return resourceType === "event" /* EVENT */ && Boolean(location) && Boolean(dateTime?.dateStatus) && ![
1747
- "Ended" /* ENDED */,
1748
- "Canceled" /* CANCELED */,
1749
- "Started" /* STARTED */
1750
- ].includes(dateTime.dateStatus);
1746
+ return resourceType === "event" /* EVENT */ && Boolean(location) && Boolean(dateTime?.dateStatus) && !["Ended" /* ENDED */, "Canceled" /* CANCELED */].includes(
1747
+ dateTime.dateStatus
1748
+ );
1751
1749
  }
1752
1750
 
1753
1751
  // src/formFields/categories/clothingAndFashion.ts