diff --git a/components/common/CommonPaginator.vue b/components/common/CommonPaginator.vue index 59387338..00c2bbde 100644 --- a/components/common/CommonPaginator.vue +++ b/components/common/CommonPaginator.vue @@ -40,7 +40,7 @@ defineSlots<{ update: () => void }) => void loading: (props: {}) => void - done: (props: {}) => void + done: (props: { items: U[] }) => void }>() const { t } = useI18n() @@ -110,7 +110,7 @@ defineExpose({ createEntry, removeEntry, updateEntry }) - +
{{ t(typeof endMessage === 'string' ? endMessage : 'common.end_of_list') }}
diff --git a/components/timeline/TimelinePaginator.vue b/components/timeline/TimelinePaginator.vue index 9d049165..ec8a7e1b 100644 --- a/components/timeline/TimelinePaginator.vue +++ b/components/timeline/TimelinePaginator.vue @@ -4,7 +4,7 @@ import { DynamicScrollerItem } from 'vue-virtual-scroller' import 'vue-virtual-scroller/dist/vue-virtual-scroller.css' import type { Paginator, WsEvents, mastodon } from 'masto' -const { paginator, stream, account, buffer = 10, endMessage } = defineProps<{ +const { paginator, stream, account, buffer = 10, endMessage = true } = defineProps<{ paginator: Paginator stream?: Promise context?: mastodon.v2.FilterContext @@ -39,17 +39,23 @@ const showOriginSite = $computed(() => -