[Notebook] Link to snapshot should not be a fully qualified url #3445 (#3460)

Co-authored-by: Andrew Henry <akhenry@gmail.com>
This commit is contained in:
Nikhil
2020-10-28 16:46:54 -07:00
committed by GitHub
parent 02fc162197
commit 8cd6a4c6a3
2 changed files with 3 additions and 2 deletions

View File

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