diff --git a/client/src/components/History/Content/ContentItem.vue b/client/src/components/History/Content/ContentItem.vue index 6986b1cd692..0ff44351494 100644 --- a/client/src/components/History/Content/ContentItem.vue +++ b/client/src/components/History/Content/ContentItem.vue @@ -4,7 +4,13 @@ :class="['content-item m-1 p-0 rounded btn-transparent-background', contentCls]" :data-hid="id" :data-state="state"> -
+
@@ -21,21 +27,31 @@ :icon="['far', 'square']" @click.stop="$emit('update:selected', true)" /> - + + tabindex="0" + @click.stop="toggleHighlights" + @keypress="toggleHighlights"> + tabindex="0" + @click.stop="toggleHighlights" + @keypress="toggleHighlights"> @@ -185,7 +201,7 @@ export default { edit: `/collection/${id}/edit`, showDetails: this.item.job_source_id && this.item.job_source_type === "Job" - ? `jobs/${this.item.job_source_id}/view` + ? `/jobs/${this.item.job_source_id}/view` : null, }; } @@ -219,7 +235,7 @@ export default { this.$router.push(this.itemUrls.edit); }, onShowCollectionInfo() { - backboneRoute(this.itemUrls.showDetails); + this.$router.push(this.itemUrls.showDetails); }, onTags(newTags) { this.$emit("tag-change", this.item, newTags);