Skip to content

Commit 05d80f8

Browse files
committed
updates for reenabling realtime config flag
1 parent 94f700f commit 05d80f8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,9 @@
283283
*/
284284
allowRealtime: true,
285285
/**
286-
* allowLAD: whether or not to allow latest data relative time conductor.
286+
* allowLAD: whether or not to allow latest data relative time conductor.
287+
*
288+
* Note: allowRealtime must be true to use this option
287289
*/
288290
allowLAD: true,
289291
/**

src/time/plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export default function TimePlugin(options) {
104104
}
105105
});
106106
}
107-
if (options.allowLAD) {
107+
if (options.allowRealtime && options.allowLAD) {
108108
var ladClock = new LADClock(key);
109109
install.ladClocks[key] = ladClock;
110110
openmct.time.addClock(ladClock);

0 commit comments

Comments
 (0)