View Large overlay doesn't allow taking Snapshots (#4091)

* Added NotebookMenuSwitcher in preview header
* Use preview component inside viewLargeAction
* Added autoHide flag to overlay API that allows developers to specify whether an overlay should remain visible if other overlays are subsequently triggered (eg. the snapshot overlay)
* When in edit mode, disable navigation link to notebook entry.

Co-authored-by: Andrew Henry <akhenry@gmail.com>
This commit is contained in:
Nikhil
2021-09-13 17:36:14 -07:00
committed by GitHub
parent d7c9c9cb98
commit 1226459c6f
16 changed files with 146 additions and 118 deletions

View File

@@ -59,12 +59,13 @@ export default {
},
mounted() {
this.views = this.openmct.objectViews.get(this.domainObject, this.objectPath).map((view) => {
view.callBack = () => {
view.onItemClicked = () => {
return this.setView(view);
};
return view;
});
this.setView(this.views[0]);
},
beforeDestroy() {