Remove console.log

This commit is contained in:
Pieter Vander Vennet 2020-10-09 20:28:48 +02:00
parent 35bd49e5ba
commit 8c610d0c11

View file

@ -160,7 +160,6 @@ export default class OpeningHoursVisualization extends UIElement {
// ranges[0] are all ranges for monday // ranges[0] are all ranges for monday
const ranges = OpeningHoursVisualization.GetRanges(oh, lastMonday, nextSunday); const ranges = OpeningHoursVisualization.GetRanges(oh, lastMonday, nextSunday);
console.log(ranges)
if (ranges.map(r => r.length).reduce((a, b) => a + b, 0) == 0) { if (ranges.map(r => r.length).reduce((a, b) => a + b, 0) == 0) {
// Closed! // Closed!
const opensAtDate = oh.getNextChange(); const opensAtDate = oh.getNextChange();