mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 23:28:14 +00:00
[TimeAPI] Fix independent time context check (#6308)
* Fix independent time context to check first object in path (self) for upstream content instead of last object in path * Revert changes that don't allow unregistering independent time context --------- Co-authored-by: Shefali <simplyrender@gmail.com>
This commit is contained in:
@ -227,6 +227,10 @@ export default {
|
||||
if (this.isFixed) {
|
||||
offsets = this.timeOptions.fixedOffsets;
|
||||
} else {
|
||||
if (this.timeOptions.clockOffsets === undefined) {
|
||||
this.timeOptions.clockOffsets = this.openmct.time.clockOffsets();
|
||||
}
|
||||
|
||||
offsets = this.timeOptions.clockOffsets;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user