2024-04-27 03:28:12 +02:00
|
|
|
<template>
|
2025-05-26 11:19:15 +02:00
|
|
|
<Timeline type="notification" :items="items" :is-loading="isLoading"
|
2024-06-29 05:05:50 +02:00
|
|
|
:has-reached-end="hasReachedEnd" :error="error" :load-next="loadNext" :load-prev="loadPrev"
|
|
|
|
|
:remove-item="removeItem" :update-item="updateItem" />
|
2024-04-27 03:28:12 +02:00
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
2024-06-29 05:05:50 +02:00
|
|
|
import { useNotificationTimeline } from "~/composables/NotificationTimeline";
|
|
|
|
|
import Timeline from "./timeline.vue";
|
2024-06-21 04:09:09 +02:00
|
|
|
|
2024-06-29 05:05:50 +02:00
|
|
|
const {
|
|
|
|
|
error,
|
|
|
|
|
hasReachedEnd,
|
|
|
|
|
isLoading,
|
|
|
|
|
items,
|
|
|
|
|
loadNext,
|
|
|
|
|
loadPrev,
|
|
|
|
|
removeItem,
|
|
|
|
|
updateItem,
|
|
|
|
|
} = useNotificationTimeline(client.value);
|
2025-05-26 11:19:15 +02:00
|
|
|
</script>
|