This commit is contained in:
ThatOneCalculator 2022-11-03 15:50:34 -07:00
parent 565d00ca21
commit 7ab4f3ee76

View file

@ -6,9 +6,9 @@
<MkButton primary class="start" @click="start"><i class="fas fa-plus"></i> {{ i18n.ts.startMessaging }}</MkButton> <MkButton primary class="start" @click="start"><i class="fas fa-plus"></i> {{ i18n.ts.startMessaging }}</MkButton>
<div v-if="messages.length > 0" class="history"> <div v-if="messages.length > 0" class="history">
<MkPagination v-slot="{items}" :pagination="pagination"> <MkPagination v-slot="{messages}" :pagination="pagination">
<MkA <MkA
v-for="(message, i) in items" v-for="(message, i) in messages"
:key="message.id" :key="message.id"
v-anim="i" v-anim="i"
class="message _block" class="message _block"
@ -71,7 +71,7 @@ const getAcct = Acct.toString;
const pagination = { const pagination = {
endpoint: 'messaging' as const, endpoint: 'messaging' as const,
limit: 10, limit: 20,
}; };
function isMe(message) { function isMe(message) {