refactor
This commit is contained in:
parent
1e50b2688a
commit
0da7fcdbed
1 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #default="{ items: messages, fetching: pFetching }">
|
<template #default="{ items: messages, fetching: pFetching }">
|
||||||
<XList
|
<MkDateSeparatedList
|
||||||
v-if="messages.length > 0"
|
v-if="messages.length > 0"
|
||||||
v-slot="{ item: message }"
|
v-slot="{ item: message }"
|
||||||
:class="{ messages: true, 'deny-move-transition': pFetching }"
|
:class="{ messages: true, 'deny-move-transition': pFetching }"
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
reversed
|
reversed
|
||||||
>
|
>
|
||||||
<XMessage :key="message.id" :message="message" :is-group="group != null"/>
|
<XMessage :key="message.id" :message="message" :is-group="group != null"/>
|
||||||
</XList>
|
</MkDateSeparatedList>
|
||||||
</template>
|
</template>
|
||||||
</MkPagination>
|
</MkPagination>
|
||||||
</div>
|
</div>
|
||||||
|
@ -55,7 +55,7 @@ import * as Misskey from 'misskey-js';
|
||||||
import * as Acct from 'misskey-js/built/acct';
|
import * as Acct from 'misskey-js/built/acct';
|
||||||
import XMessage from './messaging-room.message.vue';
|
import XMessage from './messaging-room.message.vue';
|
||||||
import XForm from './messaging-room.form.vue';
|
import XForm from './messaging-room.form.vue';
|
||||||
import XList from '@/components/MkDateSeparatedList.vue';
|
import MkDateSeparatedList from '@/components/MkDateSeparatedList.vue';
|
||||||
import MkPagination, { Paging } from '@/components/MkPagination.vue';
|
import MkPagination, { Paging } from '@/components/MkPagination.vue';
|
||||||
import { isBottomVisible, onScrollBottom, scrollToBottom } from '@/scripts/scroll';
|
import { isBottomVisible, onScrollBottom, scrollToBottom } from '@/scripts/scroll';
|
||||||
import * as os from '@/os';
|
import * as os from '@/os';
|
||||||
|
|
Loading…
Reference in a new issue