This commit is contained in:
ThatOneCalculator 2022-11-03 16:05:22 -07:00
parent 9eb948c8d9
commit 76e98a0f7c
3 changed files with 18 additions and 16 deletions

View File

@ -1,6 +1,6 @@
{
"name": "calckey",
"version": "12.119.0-calc.7.2",
"version": "12.119.0-calc.7.3",
"codename": "aqua",
"repository": {
"type": "git",

View File

@ -6,13 +6,13 @@
<MkButton primary class="start" @click="start"><i class="fas fa-plus"></i> {{ i18n.ts.startMessaging }}</MkButton>
<div v-if="messages.length > 0" class="history">
<MkPagination v-slot="{items}" :pagination="pagination">
<MkPagination v-slot="{items}" ref="list" :pagination="pagination">
<MkA
v-for="(message, i) in messages"
v-for="(message, i) in items"
:key="message.id"
v-anim="i"
class="message _block"
:class="{ isMe: isMe(message), isRead: message.groupId ? message.reads.includes($i.id) : message.isRead }"
:class="{ isMe: isMe(message), isRead: message.groupId ? message.reads.includes($i?.id) : message.isRead }"
:to="message.groupId ? `/my/messaging/group/${message.groupId}` : `/my/messaging/${getAcct(isMe(message) ? message.recipient : message.user)}`"
:data-index="i"
>

View File

@ -1,4 +1,5 @@
<template><MkStickyContainer>
<template>
<MkStickyContainer>
<template #header><MkPageHeader :actions="headerActions" :tabs="headerTabs"/></template>
<MkSpacer :content-max="700">
<div class="ieepwinx">
@ -12,7 +13,8 @@
</MkPagination>
</div>
</div>
</MkSpacer></MkStickyContainer>
</MkSpacer>
</MkStickyContainer>
</template>
<script lang="ts" setup>