From ac5d293a99f646cb3f7e3f97639fe42437d8a515 Mon Sep 17 00:00:00 2001
From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
Date: Mon, 3 Jun 2024 09:43:25 +0900
Subject: [PATCH] =?UTF-8?q?=E5=9F=8B=E3=82=81=E8=BE=BC=E3=81=BFUserTL?=
=?UTF-8?q?=E3=81=A7=E3=81=AF=E5=BA=83=E5=91=8A=E3=81=8C=E5=87=BA=E3=81=AA?=
=?UTF-8?q?=E3=81=84=E3=82=88=E3=81=86=E3=81=AB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
packages/frontend/src/components/MkNotes.vue | 9 ++++++---
packages/frontend/src/pages/embed/user-timeline.vue | 7 ++++++-
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/packages/frontend/src/components/MkNotes.vue b/packages/frontend/src/components/MkNotes.vue
index 0856c146ba..c4387a0ec6 100644
--- a/packages/frontend/src/components/MkNotes.vue
+++ b/packages/frontend/src/components/MkNotes.vue
@@ -21,7 +21,7 @@ SPDX-License-Identifier: AGPL-3.0-only
:direction="pagination.reversed ? 'up' : 'down'"
:reversed="pagination.reversed"
:noGap="noGap"
- :ad="true"
+ :ad="ad"
:class="$style.notes"
>
@@ -39,11 +39,14 @@ import MkPagination, { Paging } from '@/components/MkPagination.vue';
import { i18n } from '@/i18n.js';
import { infoImageUrl } from '@/instance.js';
-const props = defineProps<{
+const props = withDefaults(defineProps<{
pagination: Paging;
noGap?: boolean;
disableAutoLoad?: boolean;
-}>();
+ ad?: boolean;
+}>(), {
+ ad: true,
+});
const pagingComponent = shallowRef>();
diff --git a/packages/frontend/src/pages/embed/user-timeline.vue b/packages/frontend/src/pages/embed/user-timeline.vue
index 9f85fea619..616eef1176 100644
--- a/packages/frontend/src/pages/embed/user-timeline.vue
+++ b/packages/frontend/src/pages/embed/user-timeline.vue
@@ -10,7 +10,12 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ user.name }} のノート
-
+