tripstorekrabi-shared 1.6.1 → 1.6.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/utils.js +1 -3
package/package.json
CHANGED
package/utils.js
CHANGED
|
@@ -432,9 +432,7 @@ export function validateSchedule(schedule, schedules = [], context) {
|
|
|
432
432
|
return true;
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
-
export function validatePickupTime(pickupTime, schedule = "") {
|
|
436
|
-
console.log(pickupTime);
|
|
437
|
-
console.log(schedule);
|
|
435
|
+
export function validatePickupTime(pickupTime, schedule = "", context) {
|
|
438
436
|
let departureTime = schedule.split(" - ")[0];
|
|
439
437
|
|
|
440
438
|
if (pickupTime === "?" || schedule === "?") {
|