* Fix object creation (#4675) * Save the object before adding it to the parent so that transaction committing works properly * Fix object creation - composition policy changes * use relative path (#4683) * Notebook Snapshotting to the default Notebook isn't working (#4475) * Notebook Snapshotting to the default Notebook isn't working #4469 * Check for ref when trying to get the style receiver. (#4687) Also ensure that the property being displayed in Properties is actually a part of the domainObject. * Mct 4555 rebased v3 (#4689) * Preserve the previousFocusedImage for subscription updates, bound change for local and fixed time * Only preserve previous focused image if paused * Forcibly reset imageContainer size to prevent aspect ratio distortion * Remove unneccesary mixin invocation * Use image history instead of imagehistory size for watcher. Revert other changes * Added check if last image index is selected * isPaused instead of paused Co-authored-by: Michael Rogers <contact@mhrogers.com> * Snapshot notice link not navigating as expected #4194 (#4686) * Fix Link Action to accept the right input for validation (#4696) * Remove snapshot from release version (#4721) Co-authored-by: David Tsay <3614296+davetsay@users.noreply.github.com> Co-authored-by: Nikhil <nikhil.k.mandlik@nasa.gov> Co-authored-by: Michael Rogers <contact@mhrogers.com>
29 lines
573 B
JavaScript
29 lines
573 B
JavaScript
import objectPathToUrl from '../../tools/url';
|
|
|
|
export default {
|
|
inject: ['openmct'],
|
|
props: {
|
|
'objectPath': {
|
|
type: Array,
|
|
default() {
|
|
return [];
|
|
}
|
|
}
|
|
},
|
|
computed: {
|
|
objectLink() {
|
|
if (!this.objectPath.length) {
|
|
return;
|
|
}
|
|
|
|
if (this.navigateToPath) {
|
|
return '#' + this.navigateToPath;
|
|
}
|
|
|
|
let url = objectPathToUrl(this.openmct, this.objectPath);
|
|
|
|
return url;
|
|
}
|
|
}
|
|
};
|