diff --git a/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/data/week.view.data.js b/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/data/week.view.data.js index 49a46b16bc53653a4b40fae338e3413907be12cf..cbfc496aad5b5c4f7672aa56c324711e10c073b2 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/data/week.view.data.js +++ b/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/data/week.view.data.js @@ -72,11 +72,13 @@ export async function fetchLSTStationShift(utcTime,station) { stations = [station,UIConstants.TIMINGSERVER] } else { + station = UIConstants.TIMINGSERVER; stations = [UIConstants.TIMINGSERVER] } } let lstresponse = await UtilService.getLST(UTCTimeNow, stations) // we get timing also, makes debugging a lot easier. if (!lstresponse) return -1; + let lst = lstresponse.data?.LST?.[station]; let UTCAlsoTimeNow = moment.utc(lstresponse.data?.UTC).format(UIConstants.UTC_DATE_TIME_FORMAT); const shift = GetLstShiftinSeconds(lst, UTCAlsoTimeNow)