fix preview and navigate on click (#3668)

This commit is contained in:
Deep Tailor 2021-02-04 17:36:30 -08:00 committed by GitHub
parent 84d9a525a9
commit e4d6e90c35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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