Revert "forgot to add reloadKey to dom"

This reverts commit fb8097f719.
This commit is contained in:
cutestnekoaqua 2023-01-12 21:08:48 +01:00
parent 81e1fc67c1
commit 356fba3dd5
No known key found for this signature in database
GPG key ID: 6BF0964A5069C1E0
2 changed files with 4 additions and 5 deletions

View file

@ -56,7 +56,6 @@ const getAcct = Acct.toString;
const props = defineProps<{
message: Record<string, any>;
reloadKey?: number;
}>();
function isMe(message): boolean {

View file

@ -14,8 +14,8 @@
<swiper-slide>
<div class="_content yweeujhr dms">
<MkButton primary class="start" @click="startUser"><i class="ph-plus-bold ph-lg"></i> {{ i18n.ts.startMessaging }}</MkButton>
<MkPagination v-slot="{items}" :pagination="dmsPagination" :reloadKey="reloadingKey">
<MkChatPreview v-for="message in items" :key="message.id" class="yweeujhr message _block" :message="message" :reloadKey="reloadingKey"/>
<MkPagination v-slot="{items}" :pagination="dmsPagination">
<MkChatPreview v-for="message in items" :key="message.id" class="yweeujhr message _block" :message="message"/>
</MkPagination>
</div>
</swiper-slide>
@ -25,8 +25,8 @@
<MkButton primary class="start" :link="true" to="/my/groups"><i class="ph-user-circle-gear-bold ph-lg"></i> {{ i18n.ts.manageGroups }}</MkButton>
<MkButton primary class="start" @click="startGroup"><i class="ph-plus-bold ph-lg"></i> {{ i18n.ts.startMessaging }}</MkButton>
</div>
<MkPagination v-slot="{items}" :pagination="groupsPagination" :reloadKey="reloadingKey">
<MkChatPreview v-for="message in items" :key="message.id" class="yweeujhr message _block" :message="message" :reloadKey="reloadingKey"/>
<MkPagination v-slot="{items}" :pagination="groupsPagination">
<MkChatPreview v-for="message in items" :key="message.id" class="yweeujhr message _block" :message="message"/>
</MkPagination>
</div>
</swiper-slide>