diff --git a/src/plugins/notebook/components/NotebookEmbed.vue b/src/plugins/notebook/components/NotebookEmbed.vue index fb8388efba..9a61fc6700 100644 --- a/src/plugins/notebook/components/NotebookEmbed.vue +++ b/src/plugins/notebook/components/NotebookEmbed.vue @@ -143,7 +143,8 @@ export default { this.openmct.notifications.alert(message); } - window.location.href = link; + const url = new URL(link); + window.location.href = url.hash; }, formatTime(unixTime, timeFormat) { return Moment.utc(unixTime).format(timeFormat); diff --git a/src/plugins/notebook/components/NotebookMenuSwitcher.vue b/src/plugins/notebook/components/NotebookMenuSwitcher.vue index 1091b1fdfd..a027fb48d1 100644 --- a/src/plugins/notebook/components/NotebookMenuSwitcher.vue +++ b/src/plugins/notebook/components/NotebookMenuSwitcher.vue @@ -111,7 +111,7 @@ export default { const bounds = this.openmct.time.bounds(); const link = !this.ignoreLink - ? window.location.href + ? window.location.hash : null; const objectPath = this.objectPath || this.openmct.router.path;