Commit 4cf3417f by François

Fix display Sunday on shifts exchange calendar

parent 6c061566
Pipeline #1556 passed with stage
in 1 minute 29 seconds
...@@ -234,7 +234,7 @@ function init_calendar_page() { ...@@ -234,7 +234,7 @@ function init_calendar_page() {
}; };
} }
const hidden_days = $.map(days_to_hide.split(", "), Number); const hidden_days = days_to_hide.length > 0 ? $.map(days_to_hide.split(", "), Number) : [];
const calendarEl = document.getElementById('calendar'); const calendarEl = document.getElementById('calendar');
......
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