From 05d80f83a36b6abef906bdf0df6c294b6170a055 Mon Sep 17 00:00:00 2001 From: Jamie V Date: Thu, 21 Nov 2024 16:01:59 -0800 Subject: [PATCH] updates for reenabling realtime config flag --- config.js | 4 +++- src/time/plugin.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config.js b/config.js index 07c87a3..0365c41 100644 --- a/config.js +++ b/config.js @@ -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, /** diff --git a/src/time/plugin.js b/src/time/plugin.js index f59716b..aa0cc40 100644 --- a/src/time/plugin.js +++ b/src/time/plugin.js @@ -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);