Skip to content
Snippets Groups Projects
Commit d398ea8d authored by Romain CREY's avatar Romain CREY
Browse files

fix: change timeStep + half hour method

parent e3230b54
Branches
Tags
3 merge requests!103Support,!102Dev,!68Features/scale graph
......@@ -115,7 +115,6 @@ const FluidChartSlide: React.FC<FluidChartSlideProps> = ({
? selectedDate.endOf('week')
: selectedDate.endOf('month').endOf('week'),
}
// console.log(maxTimePeriod.startDate.c, maxTimePeriod.endDate.c)
const compareMaxTimePeriod = maxTimePeriod
......@@ -141,8 +140,6 @@ const FluidChartSlide: React.FC<FluidChartSlideProps> = ({
setChartIsLoaded(true)
}
}
console.log(maxLoads)
if (
key in maxLoads === false &&
(timeStep === TimeStep.DAY || timeStep === TimeStep.HALF_AN_HOUR)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment