mirror of
https://github.com/nasa/openmct.git
synced 2025-01-14 08:49:58 +00:00
Make Plot component global
This commit is contained in:
parent
0c5f533fc7
commit
33bb8b4cb5
@ -389,6 +389,7 @@ define([
|
|||||||
},
|
},
|
||||||
template: '<Layout ref="layout"></Layout>'
|
template: '<Layout ref="layout"></Layout>'
|
||||||
});
|
});
|
||||||
|
appLayout.component('Plot', openmct.components.Plot);
|
||||||
const component = appLayout.mount(domElement);
|
const component = appLayout.mount(domElement);
|
||||||
component.$nextTick(() => {
|
component.$nextTick(() => {
|
||||||
this.layout = component.$refs.layout;
|
this.layout = component.$refs.layout;
|
||||||
|
Loading…
Reference in New Issue
Block a user