From e98740c28516414fc83d6939c68a8c72958fd861 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 12 Feb 2023 11:10:37 +0900 Subject: [PATCH] =?UTF-8?q?enhance(client):=20=E3=83=A6=E3=83=BC=E3=82=B6?= =?UTF-8?q?=E3=83=BC=E3=81=AE=E3=83=9B=E3=83=BC=E3=83=A0=E7=94=BB=E9=9D=A2?= =?UTF-8?q?=E3=81=AB=E3=82=82TL=E3=82=92=E8=A1=A8=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/pages/user/home.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/frontend/src/pages/user/home.vue b/packages/frontend/src/pages/user/home.vue index 8948e85ea4..6d942d4391 100644 --- a/packages/frontend/src/pages/user/home.vue +++ b/packages/frontend/src/pages/user/home.vue @@ -100,6 +100,7 @@ +
@@ -132,6 +133,7 @@ import { i18n } from '@/i18n'; import { $i } from '@/account'; import { dateString } from '@/filters/date'; import { confetti } from '@/scripts/confetti'; +import XNotes from '@/components/MkNotes.vue'; const XPhotos = defineAsyncComponent(() => import('./index.photos.vue')); const XActivity = defineAsyncComponent(() => import('./index.activity.vue')); @@ -148,6 +150,14 @@ let narrow = $ref(null); let rootEl = $ref(null); let bannerEl = $ref(null); +const pagination = { + endpoint: 'users/notes' as const, + limit: 10, + params: computed(() => ({ + userId: props.user.id, + })), +}; + const style = $computed(() => { if (props.user.bannerUrl == null) return {}; return {