Compare commits

...

12 Commits

View File

@ -78,11 +78,15 @@ export default {
async mounted() {
await this.$nextTick();
// Hide tree and/or inspector pane if specified in URL
this.handleHideUrl();
this.openmct.router.on('change:params', this.handleHideUrl);
if (this.collapsable) {
this.handleHideUrl();
this.openmct.router.on('change:params', this.handleHideUrl);
}
},
beforeDestroy() {
this.openmct.router.off('change:params', this.handleHideUrl);
if (this.collapsable) {
this.openmct.router.off('change:params', this.handleHideUrl);
}
},
methods: {
toggleCollapse: function (e) {