Skip to content

Commit

Permalink
Link view into eye, with display as the default tab.
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Jul 15, 2023
1 parent 097812d commit 4dae837
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/src/components/History/Content/ContentItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
:keyboard-selectable="expandDataset"
@delete="$emit('delete')"
@display="onDisplay"
@view="onView"
@showCollectionInfo="onShowCollectionInfo"
@edit="onEdit"
@undelete="$emit('undelete')"
Expand Down Expand Up @@ -243,6 +244,9 @@ export default {
onDragEnd: function () {
clearDrag();
},
onView() {
this.$router.push(this.itemUrls.view);
},
onEdit() {
this.$router.push(this.itemUrls.edit);
},
Expand Down

0 comments on commit 4dae837

Please sign in to comment.