Make Plot component global

This commit is contained in:
Khalid Adil 2023-08-02 21:58:40 -05:00
parent 0c5f533fc7
commit 33bb8b4cb5

View File

@ -389,6 +389,7 @@ define([
},
template: '<Layout ref="layout"></Layout>'
});
appLayout.component('Plot', openmct.components.Plot);
const component = appLayout.mount(domElement);
component.$nextTick(() => {
this.layout = component.$refs.layout;