mirror of
https://github.com/nasa/openmct.git
synced 2025-04-10 04:40:05 +00:00
fix preview and navigate on click (#3668)
This commit is contained in:
parent
84d9a525a9
commit
e4d6e90c35
@ -74,9 +74,9 @@ export default {
|
||||
if (this.openmct.editor.isEditing()) {
|
||||
event.preventDefault();
|
||||
this.preview();
|
||||
} else {
|
||||
window.location.assign(this.objectLink);
|
||||
}
|
||||
|
||||
window.location.assign(this.objectLink);
|
||||
},
|
||||
preview() {
|
||||
if (this.previewAction.appliesTo(this.objectPath)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user