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 }} のノート
- +