mirror of
https://github.com/nasa/openmct.git
synced 2025-01-27 14:49:28 +00:00
Register Clock globally
This commit is contained in:
parent
1e3fcc15a5
commit
70ec6fe65b
@ -392,6 +392,7 @@ define([
|
|||||||
template: '<Layout ref="layout"></Layout>'
|
template: '<Layout ref="layout"></Layout>'
|
||||||
});
|
});
|
||||||
appLayout.component('Plot', openmct.components.Plot);
|
appLayout.component('Plot', openmct.components.Plot);
|
||||||
|
appLayout.component('Clock', openmct.components.Clock);
|
||||||
const component = appLayout.mount(domElement);
|
const component = appLayout.mount(domElement);
|
||||||
component.$nextTick(() => {
|
component.$nextTick(() => {
|
||||||
this.layout = component.$refs.layout;
|
this.layout = component.$refs.layout;
|
||||||
|
@ -24,10 +24,12 @@ import ObjectView from './ObjectView.vue';
|
|||||||
import StackedPlot from '../../plugins/plot/stackedPlot/StackedPlot.vue';
|
import StackedPlot from '../../plugins/plot/stackedPlot/StackedPlot.vue';
|
||||||
import Plot from '../../plugins/plot/Plot.vue';
|
import Plot from '../../plugins/plot/Plot.vue';
|
||||||
import WebPage from '../../plugins/webPage/components/WebPage.vue';
|
import WebPage from '../../plugins/webPage/components/WebPage.vue';
|
||||||
|
import Clock from '../../plugins/clock/components/Clock.vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
ObjectView,
|
ObjectView,
|
||||||
StackedPlot,
|
StackedPlot,
|
||||||
Plot,
|
Plot,
|
||||||
WebPage
|
WebPage,
|
||||||
|
Clock
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user