mirror of
https://github.com/nasa/openmct.git
synced 2025-01-13 00:09:47 +00:00
Register Clock globally
This commit is contained in:
parent
1e3fcc15a5
commit
70ec6fe65b
@ -392,6 +392,7 @@ define([
|
||||
template: '<Layout ref="layout"></Layout>'
|
||||
});
|
||||
appLayout.component('Plot', openmct.components.Plot);
|
||||
appLayout.component('Clock', openmct.components.Clock);
|
||||
const component = appLayout.mount(domElement);
|
||||
component.$nextTick(() => {
|
||||
this.layout = component.$refs.layout;
|
||||
|
@ -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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user