diff options
Diffstat (limited to 'packages/frontend/src/pages/drive.file.notes.vue')
| -rw-r--r-- | packages/frontend/src/pages/drive.file.notes.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/frontend/src/pages/drive.file.notes.vue b/packages/frontend/src/pages/drive.file.notes.vue index d7519896cc..95ac5082bb 100644 --- a/packages/frontend/src/pages/drive.file.notes.vue +++ b/packages/frontend/src/pages/drive.file.notes.vue @@ -6,16 +6,16 @@ SPDX-License-Identifier: AGPL-3.0-only <template> <div class="_gaps"> <MkInfo>{{ i18n.ts._fileViewer.thisPageCanBeSeenFromTheAuthor }}</MkInfo> - <MkNotes ref="tlComponent" :pagination="pagination"/> + <MkNotesTimeline ref="tlComponent" :pagination="pagination"/> </div> </template> <script lang="ts" setup> import { ref, computed } from 'vue'; import { i18n } from '@/i18n.js'; -import type { Paging } from '@/components/MkPagination.vue'; +import type { PagingCtx } from '@/use/use-pagination.js'; import MkInfo from '@/components/MkInfo.vue'; -import MkNotes from '@/components/MkNotes.vue'; +import MkNotesTimeline from '@/components/MkNotesTimeline.vue'; const props = defineProps<{ fileId: string; @@ -23,7 +23,7 @@ const props = defineProps<{ const realFileId = computed(() => props.fileId); -const pagination = ref<Paging>({ +const pagination = ref<PagingCtx>({ endpoint: 'drive/files/attached-notes', limit: 10, params: { |