diff options
| author | かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> | 2025-08-22 19:34:20 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-22 19:34:20 +0900 |
| commit | ade603ff7a6e2985a236949ed3d737ddab095aa1 (patch) | |
| tree | 1e114908e404489a10ee6b972b87ef81b24c2b5c /packages/frontend/src/components/MkNotesTimeline.vue | |
| parent | fix(frontend): follow-up of #16380 (diff) | |
| download | misskey-ade603ff7a6e2985a236949ed3d737ddab095aa1.tar.gz misskey-ade603ff7a6e2985a236949ed3d737ddab095aa1.tar.bz2 misskey-ade603ff7a6e2985a236949ed3d737ddab095aa1.zip | |
fix(frontend): ページネーションの進行方向を指定できるように (#16433)
* fix(frontend): ページネーションの進行方向を指定できるように
* Update Changelog
* fix lint
* fix: directionをMkPaginationに移動
* fix
* fix
* fix
---------
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Diffstat (limited to 'packages/frontend/src/components/MkNotesTimeline.vue')
| -rw-r--r-- | packages/frontend/src/components/MkNotesTimeline.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkNotesTimeline.vue b/packages/frontend/src/components/MkNotesTimeline.vue index 42d44dffdb..d94cf3924c 100644 --- a/packages/frontend/src/components/MkNotesTimeline.vue +++ b/packages/frontend/src/components/MkNotesTimeline.vue @@ -4,7 +4,7 @@ SPDX-License-Identifier: AGPL-3.0-only --> <template> -<MkPagination :paginator="paginator" :autoLoad="autoLoad" :pullToRefresh="pullToRefresh" :withControl="withControl"> +<MkPagination :paginator="paginator" :direction="direction" :autoLoad="autoLoad" :pullToRefresh="pullToRefresh" :withControl="withControl"> <template #empty><MkResult type="empty" :text="i18n.ts.noNotes"/></template> <template #default="{ items: notes }"> @@ -50,11 +50,14 @@ import { isSeparatorNeeded, getSeparatorInfo } from '@/utility/timeline-date-sep const props = withDefaults(defineProps<{ paginator: T; noGap?: boolean; + + direction?: 'up' | 'down' | 'both'; autoLoad?: boolean; pullToRefresh?: boolean; withControl?: boolean; }>(), { autoLoad: true, + direction: 'down', pullToRefresh: true, withControl: true, }); |