Skip to content
Snippets Groups Projects
Commit edfd736e authored by Reinder Kraaij's avatar Reinder Kraaij :eye:
Browse files

Merge remote-tracking branch 'origin/master' into TMSS-2717-Refactor-Details-Summary-+-Ui-Tweaks

parents 513c81c4 9ad45498
No related branches found
No related tags found
1 merge request!1213Resolve TMSS-2717 "Refactor details summary + ui tweaks"
......@@ -21,7 +21,7 @@ function splitElementPerDay(element, spanInDays, shouldShowOnSkyTimes) {
const newElements = []
for (let day = 0; day <= spanInDays; day++) {
let newElement = { ...element }
const startTime = (shouldShowOnSkyTimes ? (element.on_sky_start_time ?? element.process_start_time) : element.process_start_time) ?? element.start_time
const endTime = (shouldShowOnSkyTimes ? (element.on_sky_stop_time ?? element.process_stop_time) : element.process_stop_time) ?? element.stop_time
const { formattedStart, formattedEnd } = determineNewStartAndEnd(startTime, day, spanInDays, endTime);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment