Skip to content

Commit

Permalink
updates for reenabling realtime config flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jvigliotta committed Nov 22, 2024
1 parent 94f700f commit 05d80f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,9 @@
*/
allowRealtime: true,
/**
* allowLAD: whether or not to allow latest data relative time conductor.
* allowLAD: whether or not to allow latest data relative time conductor.
*
* Note: allowRealtime must be true to use this option
*/
allowLAD: true,
/**
Expand Down
2 changes: 1 addition & 1 deletion src/time/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export default function TimePlugin(options) {
}
});
}
if (options.allowLAD) {
if (options.allowRealtime && options.allowLAD) {
var ladClock = new LADClock(key);
install.ladClocks[key] = ladClock;
openmct.time.addClock(ladClock);
Expand Down

0 comments on commit 05d80f8

Please sign in to comment.