From 70ec6fe65b7d445ba7c19cb4d70eeca8473aa192 Mon Sep 17 00:00:00 2001 From: Khalid Adil Date: Thu, 3 Aug 2023 11:54:48 -0500 Subject: [PATCH] Register Clock globally --- src/MCT.js | 1 + src/ui/components/components.js | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/MCT.js b/src/MCT.js index 9af40cc360..c34cd1c817 100644 --- a/src/MCT.js +++ b/src/MCT.js @@ -392,6 +392,7 @@ define([ template: '' }); appLayout.component('Plot', openmct.components.Plot); + appLayout.component('Clock', openmct.components.Clock); const component = appLayout.mount(domElement); component.$nextTick(() => { this.layout = component.$refs.layout; diff --git a/src/ui/components/components.js b/src/ui/components/components.js index 0ffc2b8c01..263248ee67 100644 --- a/src/ui/components/components.js +++ b/src/ui/components/components.js @@ -24,10 +24,12 @@ import ObjectView from './ObjectView.vue'; import StackedPlot from '../../plugins/plot/stackedPlot/StackedPlot.vue'; import Plot from '../../plugins/plot/Plot.vue'; import WebPage from '../../plugins/webPage/components/WebPage.vue'; +import Clock from '../../plugins/clock/components/Clock.vue'; export default { ObjectView, StackedPlot, Plot, - WebPage + WebPage, + Clock };