diff --git a/components/common/CommonPaginator.vue b/components/common/CommonPaginator.vue index ee51666d..f945db90 100644 --- a/components/common/CommonPaginator.vue +++ b/components/common/CommonPaginator.vue @@ -11,7 +11,7 @@ const { virtualScroller = false, eventType = 'update', preprocess, - noEndMessage = false, + endMessage = true, } = defineProps<{ paginator: Paginator keyProp?: keyof T @@ -19,7 +19,7 @@ const { stream?: Promise eventType?: 'notification' | 'update' preprocess?: (items: (U | T)[]) => U[] - noEndMessage?: boolean + endMessage?: boolean | string }>() defineSlots<{ @@ -109,9 +109,9 @@ defineExpose({ createEntry, removeEntry, updateEntry }) - +
- {{ t('common.end_of_list') }} + {{ t(typeof endMessage === 'string' ? endMessage : 'common.end_of_list') }}
diff --git a/components/list/Lists.vue b/components/list/Lists.vue index d5d3657f..c39eed26 100644 --- a/components/list/Lists.vue +++ b/components/list/Lists.vue @@ -30,7 +30,7 @@ async function edit(listId: string) {