Loading client/src/components/History/CurrentHistory/HistoryPanel.vue +2 −2 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ :items="itemsLoaded" :query-key="queryKey" @scroll="onScroll"> <template v-slot:item="{ item, getOffset }"> <template v-slot:item="{ item, currentOffset }"> <ContentItem v-if="!invisible[item.hid]" :id="item.hid" Loading @@ -114,7 +114,7 @@ @toggleHighlights="toggleHighlights" @update:expand-dataset="setExpanded(item, $event)" @update:selected="setSelected(item, $event)" @view-collection="$emit('view-collection', item, getOffset)" @view-collection="$emit('view-collection', item, currentOffset)" @delete="onDelete(item)" @undelete="onUndelete(item)" @unhide="onUnhide(item)" /> Loading client/src/components/History/Index.vue +2 −2 Original line number Diff line number Diff line Loading @@ -56,8 +56,8 @@ export default { }; }, methods: { onViewCollection(collection, getListOffset) { this.listOffset = getListOffset(); onViewCollection(collection, currentOffset) { this.listOffset = currentOffset; this.breadcrumbs = [...this.breadcrumbs, collection]; }, }, Loading client/src/components/History/Layout/Listing.vue +2 −2 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ :data-component="{}" @scroll="onScroll"> <template v-slot:item="{ item }"> <slot name="item" :item="item" :get-offset="getOffset" /> <slot name="item" :item="item" :current-offset="getOffset()" /> </template> <template v-slot:footer> <LoadingSpan v-if="loading" class="m-2" message="Loading" /> Loading Loading @@ -77,7 +77,7 @@ export default { this.$emit("scroll", rangeStart); }, getOffset() { return this.$refs.listing.getOffset(); return this.$refs.listing?.getOffset() || 0; }, }, }; Loading Loading
client/src/components/History/CurrentHistory/HistoryPanel.vue +2 −2 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ :items="itemsLoaded" :query-key="queryKey" @scroll="onScroll"> <template v-slot:item="{ item, getOffset }"> <template v-slot:item="{ item, currentOffset }"> <ContentItem v-if="!invisible[item.hid]" :id="item.hid" Loading @@ -114,7 +114,7 @@ @toggleHighlights="toggleHighlights" @update:expand-dataset="setExpanded(item, $event)" @update:selected="setSelected(item, $event)" @view-collection="$emit('view-collection', item, getOffset)" @view-collection="$emit('view-collection', item, currentOffset)" @delete="onDelete(item)" @undelete="onUndelete(item)" @unhide="onUnhide(item)" /> Loading
client/src/components/History/Index.vue +2 −2 Original line number Diff line number Diff line Loading @@ -56,8 +56,8 @@ export default { }; }, methods: { onViewCollection(collection, getListOffset) { this.listOffset = getListOffset(); onViewCollection(collection, currentOffset) { this.listOffset = currentOffset; this.breadcrumbs = [...this.breadcrumbs, collection]; }, }, Loading
client/src/components/History/Layout/Listing.vue +2 −2 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ :data-component="{}" @scroll="onScroll"> <template v-slot:item="{ item }"> <slot name="item" :item="item" :get-offset="getOffset" /> <slot name="item" :item="item" :current-offset="getOffset()" /> </template> <template v-slot:footer> <LoadingSpan v-if="loading" class="m-2" message="Loading" /> Loading Loading @@ -77,7 +77,7 @@ export default { this.$emit("scroll", rangeStart); }, getOffset() { return this.$refs.listing.getOffset(); return this.$refs.listing?.getOffset() || 0; }, }, }; Loading