mirror of
https://github.com/nasa/openmct.git
synced 2025-06-15 13:48:12 +00:00
@ -86,7 +86,7 @@ export default {
|
|||||||
|
|
||||||
this.openmct.menus.showMenu(x, y, notebookTypes);
|
this.openmct.menus.showMenu(x, y, notebookTypes);
|
||||||
},
|
},
|
||||||
snapshot(notebook) {
|
snapshot(notebookType) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
const element = document.querySelector('.c-overlay__contents')
|
const element = document.querySelector('.c-overlay__contents')
|
||||||
|| document.getElementsByClassName('l-shell__main-container')[0];
|
|| document.getElementsByClassName('l-shell__main-container')[0];
|
||||||
@ -104,7 +104,7 @@ export default {
|
|||||||
openmct: this.openmct
|
openmct: this.openmct
|
||||||
};
|
};
|
||||||
|
|
||||||
this.notebookSnapshot.capture(snapshotMeta, notebook.type, element);
|
this.notebookSnapshot.capture(snapshotMeta, notebookType, element);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
setDefaultNotebookStatus() {
|
setDefaultNotebookStatus() {
|
||||||
|
Reference in New Issue
Block a user