From 4a0728a55bc8299c1555c116aa00c02d8ff79bc0 Mon Sep 17 00:00:00 2001 From: Nikhil Date: Wed, 2 Dec 2020 12:40:35 -0800 Subject: [PATCH] Navigating to a Notebook snapshot not working #3538 (#3569) --- src/plugins/notebook/components/NotebookEmbed.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/plugins/notebook/components/NotebookEmbed.vue b/src/plugins/notebook/components/NotebookEmbed.vue index d291cc5374..f06f027641 100644 --- a/src/plugins/notebook/components/NotebookEmbed.vue +++ b/src/plugins/notebook/components/NotebookEmbed.vue @@ -143,9 +143,7 @@ export default { this.openmct.notifications.alert(message); } - const link = `${location.host}${location.pathname}${hash}`; - const url = new URL(link); - window.location.href = url.hash; + window.location.hash = hash; }, formatTime(unixTime, timeFormat) { return Moment.utc(unixTime).format(timeFormat);