mirror of
https://github.com/nasa/openmct.git
synced 2025-02-21 01:42:31 +00:00
Co-authored-by: Andrew Henry <akhenry@gmail.com>
This commit is contained in:
parent
02fc162197
commit
8cd6a4c6a3
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user