Navigating to a Notebook snapshot not working #3538 (#3569)

This commit is contained in:
Nikhil 2020-12-02 12:40:35 -08:00 committed by GitHub
parent 2e1d57aa8c
commit 4a0728a55b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);