Commit 2c48318f authored by Andrew Hrdy's avatar Andrew Hrdy
Browse files

Very small bug fix

parent 7b10b127
......@@ -7,7 +7,7 @@
const getFacilityActiveSchedule = facility => {
const curDateTime = new Date();
for (let i = 0; i < facility.special_schedules; i++) {
for (let i = 0; i < facility.special_schedules.length; i++) {
const specialSchedule = facility.special_schedules[i];
const startInParts = specialSchedule.valid_start.split('-');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment