パラメータが逆になっていたのを修正

This commit is contained in:
kakkokari-gtyih 2024-07-15 12:00:09 +09:00
parent 87a7d1a8ea
commit cc59fc52e9
3 changed files with 3 additions and 7 deletions

View File

@ -28,7 +28,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkNotes <MkNotes
ref="notesEl" ref="notesEl"
:pagination="pagination" :pagination="pagination"
:disableAutoLoad="embedParams.autoload" :disableAutoLoad="!embedParams.autoload"
:noGap="true" :noGap="true"
:ad="false" :ad="false"
/> />

View File

@ -27,7 +27,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkNotes <MkNotes
ref="notesEl" ref="notesEl"
:pagination="pagination" :pagination="pagination"
:disableAutoLoad="embedParams.autoload" :disableAutoLoad="!embedParams.autoload"
:noGap="true" :noGap="true"
:ad="false" :ad="false"
/> />
@ -54,8 +54,6 @@ import type { ParsedEmbedParams } from '@/scripts/embed-page.js';
const props = defineProps<{ const props = defineProps<{
tag: string; tag: string;
showHeader?: string;
enableAutoLoad?: string;
}>(); }>();
function redirectIfNotEmbedPage() { function redirectIfNotEmbedPage() {

View File

@ -35,7 +35,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkNotes <MkNotes
ref="notesEl" ref="notesEl"
:pagination="pagination" :pagination="pagination"
:disableAutoLoad="embedParams.autoload" :disableAutoLoad="!embedParams.autoload"
:noGap="true" :noGap="true"
:ad="false" :ad="false"
/> />
@ -64,8 +64,6 @@ import type { ParsedEmbedParams } from '@/scripts/embed-page.js';
const props = defineProps<{ const props = defineProps<{
username: string; username: string;
showHeader?: string;
enableAutoLoad?: string;
}>(); }>();
function redirectIfNotEmbedPage() { function redirectIfNotEmbedPage() {