cronofy-elements
Advanced tools
Comparing version 1.17.2 to 1.17.3
{ | ||
"name": "cronofy-elements", | ||
"version": "1.17.2", | ||
"version": "1.17.3", | ||
"description": "Fast track scheduling with Cronofy's embeddable UI Elements", | ||
@@ -5,0 +5,0 @@ "main": "build/npm/CronofyElements.js", |
@@ -17,4 +17,3 @@ import React, { useState, useEffect } from "react"; | ||
generateWeeklySlots, | ||
generateStaticWeeks, | ||
removeManagedAvailability | ||
generateStaticWeeks | ||
} from "../../helpers/utils.AvailabilityViewer"; | ||
@@ -264,6 +263,2 @@ import { parseStyleOptions } from "../../helpers/theming"; | ||
if (status.mode === "free_select") { | ||
query = removeManagedAvailability(query); | ||
} | ||
const croppedQuery = cropQuery(query, { | ||
@@ -270,0 +265,0 @@ currentWeek: weeks.current, |
@@ -489,14 +489,2 @@ import moment from "moment-timezone"; | ||
export const removeManagedAvailability = query => ({ | ||
...query, | ||
participants: query.participants.map(parts => ({ | ||
...parts, | ||
members: parts.members.map(member => { | ||
delete member.availability_rule_ids; | ||
delete member.managed_availability; | ||
return member; | ||
}) | ||
})) | ||
}); | ||
export const calculateDisplayText = (i18n, slot, status) => { | ||
@@ -503,0 +491,0 @@ const startObject = moment.tz( |
Sorry, the diff of this file is too big to display
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
2666005
24339