Loading client/src/components/History/Content/GenericItem.vue +4 −3 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ <loading-span v-if="loading" message="Loading dataset" /> <div v-else> <ContentItem is-history-item :id="item.hid" :item="item" :name="item.name" Loading @@ -10,9 +11,9 @@ :is-dataset="item.history_content_type == 'dataset'" @update:expand-dataset="expandDataset = $event" @view-collection="viewCollection = !viewCollection" @delete="onDelete" @undelete="onUndelete" @unhide="onUnhide" /> @delete="onDelete(item)" @undelete="onUndelete(item)" @unhide="onUnhide(item)" /> <div v-if="viewCollection"> <div v-for="(collectionItem, collectionIndex) in item.elements" :key="collectionIndex"> <GenericElement :item="collectionItem" /> Loading Loading
client/src/components/History/Content/GenericItem.vue +4 −3 Original line number Diff line number Diff line Loading @@ -3,6 +3,7 @@ <loading-span v-if="loading" message="Loading dataset" /> <div v-else> <ContentItem is-history-item :id="item.hid" :item="item" :name="item.name" Loading @@ -10,9 +11,9 @@ :is-dataset="item.history_content_type == 'dataset'" @update:expand-dataset="expandDataset = $event" @view-collection="viewCollection = !viewCollection" @delete="onDelete" @undelete="onUndelete" @unhide="onUnhide" /> @delete="onDelete(item)" @undelete="onUndelete(item)" @unhide="onUnhide(item)" /> <div v-if="viewCollection"> <div v-for="(collectionItem, collectionIndex) in item.elements" :key="collectionIndex"> <GenericElement :item="collectionItem" /> Loading