cronofy-elements
Advanced tools
Comparing version 1.34.4 to 1.34.5
{ | ||
"name": "cronofy-elements", | ||
"version": "1.34.4", | ||
"version": "1.34.5", | ||
"description": "Fast track scheduling with Cronofy's embeddable UI Elements", | ||
@@ -5,0 +5,0 @@ "main": "build/npm/CronofyElements.js", |
@@ -57,8 +57,5 @@ import { | ||
: false; | ||
const availableDays = hasAnySlots | ||
? getAvailableDays(slotsObject, state.tzid) | ||
: false; | ||
const availableDays = hasAnySlots ? getAvailableDays(slotsObject, state.tzid) : false; | ||
return { | ||
...state, | ||
columnView: hasAnySlots ? "slots" : "no-slots", | ||
selectedDay, | ||
@@ -78,6 +75,10 @@ focusedDay: selectedDay, | ||
const hasAnySlots = Object.keys(slotsObject).length > 1; | ||
const selectedDay = hasAnySlots | ||
? getFirstAvailableDay(slotsObject, state.selectedTzid.tzid) | ||
: false; | ||
return { | ||
...state, | ||
columnView: hasAnySlots ? "slots" : "no-slots", | ||
slots: slotsObject, | ||
selectedDay, | ||
focusedDay: selectedDay, | ||
slotFetchCount: state.slotFetchCount + 1, | ||
@@ -84,0 +85,0 @@ }; |
@@ -6,3 +6,3 @@ { | ||
"confirm_slot_title": "Uhrzeit bestätigen", | ||
"duration_label": "Dauer:", | ||
"duration_label": "Dauer", | ||
"minutes": "Minuten", | ||
@@ -9,0 +9,0 @@ "nav_previous_month": "Zurück", |
@@ -6,3 +6,3 @@ { | ||
"confirm_slot_title": "Confirmer l'heure", | ||
"duration_label": "Durée:", | ||
"duration_label": "Durée", | ||
"minutes": "minutes", | ||
@@ -9,0 +9,0 @@ "nav_previous_month": "Précédent", |
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
3470253
23215