mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 13:17:53 +00:00
allow 'latest' requests without clock being set
This commit is contained in:
parent
e395cfeb64
commit
57b2c8a8ce
@ -43,6 +43,11 @@ function remoteClockRequestInterceptor(openmct, _remoteClockIdentifier, waitForB
|
||||
// Get the activeClock from the Global Time Context
|
||||
/** @type {import("../../api/time/TimeContext").default} */
|
||||
const { activeClock } = openmct.time;
|
||||
const timeContext = request?.timeContext ?? openmct.time;
|
||||
|
||||
if (request.strategy === 'latest' && timeContext.isRealTime()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return activeClock?.key === 'remote-clock' && !remoteClockLoaded;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user