diff --git a/client/src/components/History/Content/ContentItem.vue b/client/src/components/History/Content/ContentItem.vue index 81f19565dc9..077b7b6ed43 100644 --- a/client/src/components/History/Content/ContentItem.vue +++ b/client/src/components/History/Content/ContentItem.vue @@ -84,7 +84,7 @@ @@ -119,8 +119,7 @@ export default { highlight: { type: String, default: null }, id: { type: Number, required: true }, isDataset: { type: Boolean, default: true }, - isHistoryItem: { type: Boolean, default: true }, - isHistPanel: { type: Boolean, default: false }, + isHistoryItem: { type: Boolean, default: false }, item: { type: Object, required: true }, name: { type: String, required: true }, selected: { type: Boolean, default: false }, diff --git a/client/src/components/History/Content/GenericElement.vue b/client/src/components/History/Content/GenericElement.vue index c8e8d1b0172..7b8f4068501 100644 --- a/client/src/components/History/Content/GenericElement.vue +++ b/client/src/components/History/Content/GenericElement.vue @@ -6,7 +6,6 @@ :name="item.element_identifier" :is-dataset="item.element_type == 'hda'" :expand-dataset="expandDataset" - :is-history-item="false" @update:expand-dataset="expandDataset = $event" @view-collection="viewCollection = !viewCollection" /> diff --git a/client/src/components/History/Content/GenericItem.vue b/client/src/components/History/Content/GenericItem.vue index abe04cdf46f..57fa3fbf940 100644 --- a/client/src/components/History/Content/GenericItem.vue +++ b/client/src/components/History/Content/GenericItem.vue @@ -3,6 +3,7 @@
+ @delete="onDelete(item)" + @undelete="onUndelete(item)" + @unhide="onUnhide(item)" />
diff --git a/client/src/components/History/CurrentCollection/CollectionPanel.vue b/client/src/components/History/CurrentCollection/CollectionPanel.vue index 3977d89036f..025f48d74f3 100644 --- a/client/src/components/History/CurrentCollection/CollectionPanel.vue +++ b/client/src/components/History/CurrentCollection/CollectionPanel.vue @@ -28,7 +28,6 @@ :name="item.element_identifier" :expand-dataset="isExpanded(item)" :is-dataset="item.element_type == 'hda'" - :is-history-item="false" @update:expand-dataset="setExpanded(item, $event)" @view-collection="onViewSubCollection" /> diff --git a/client/src/components/History/CurrentHistory/HistoryPanel.vue b/client/src/components/History/CurrentHistory/HistoryPanel.vue index f90a3965007..dbc3cf438c2 100644 --- a/client/src/components/History/CurrentHistory/HistoryPanel.vue +++ b/client/src/components/History/CurrentHistory/HistoryPanel.vue @@ -100,12 +100,12 @@