mirror of
https://github.com/nasa/openmct.git
synced 2025-06-15 21:58:13 +00:00
Co-authored-by: Andrew Henry <akhenry@gmail.com>
This commit is contained in:
@ -143,7 +143,8 @@ export default {
|
|||||||
this.openmct.notifications.alert(message);
|
this.openmct.notifications.alert(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
window.location.href = link;
|
const url = new URL(link);
|
||||||
|
window.location.href = url.hash;
|
||||||
},
|
},
|
||||||
formatTime(unixTime, timeFormat) {
|
formatTime(unixTime, timeFormat) {
|
||||||
return Moment.utc(unixTime).format(timeFormat);
|
return Moment.utc(unixTime).format(timeFormat);
|
||||||
|
@ -111,7 +111,7 @@ export default {
|
|||||||
|
|
||||||
const bounds = this.openmct.time.bounds();
|
const bounds = this.openmct.time.bounds();
|
||||||
const link = !this.ignoreLink
|
const link = !this.ignoreLink
|
||||||
? window.location.href
|
? window.location.hash
|
||||||
: null;
|
: null;
|
||||||
|
|
||||||
const objectPath = this.objectPath || this.openmct.router.path;
|
const objectPath = this.objectPath || this.openmct.router.path;
|
||||||
|
Reference in New Issue
Block a user