This commit is contained in:
syuilo 2024-10-04 17:07:27 +09:00
parent ea2675eaab
commit 2639e92e18

View file

@ -20,9 +20,9 @@ SPDX-License-Identifier: AGPL-3.0-only
</div> </div>
<MkPagination v-slot="{items}" ref="logs" :pagination="pagination" style="margin-top: var(--margin);"> <MkPagination v-slot="{items}" ref="logs" :pagination="pagination" style="margin-top: var(--margin);">
<div class="_gaps_s"> <MkDateSeparatedList v-slot="{ item }" :items="items" :noGap="false" style="--margin: 8px;">
<XModLog v-for="item in items" :key="item.id" :log="item"/> <XModLog :key="item.id" :log="item"/>
</div> </MkDateSeparatedList>
</MkPagination> </MkPagination>
</div> </div>
</MkSpacer> </MkSpacer>
@ -39,6 +39,7 @@ import MkInput from '@/components/MkInput.vue';
import MkPagination from '@/components/MkPagination.vue'; import MkPagination from '@/components/MkPagination.vue';
import { i18n } from '@/i18n.js'; import { i18n } from '@/i18n.js';
import { definePageMetadata } from '@/scripts/page-metadata.js'; import { definePageMetadata } from '@/scripts/page-metadata.js';
import MkDateSeparatedList from '@/components/MkDateSeparatedList.vue';
const logs = shallowRef<InstanceType<typeof MkPagination>>(); const logs = shallowRef<InstanceType<typeof MkPagination>>();