forgot to add reloadKey to dom
This commit is contained in:
parent
f752037a3a
commit
fb8097f719
2 changed files with 5 additions and 4 deletions
|
@ -56,6 +56,7 @@ const getAcct = Acct.toString;
|
||||||
|
|
||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
message: Record<string, any>;
|
message: Record<string, any>;
|
||||||
|
reloadKey?: number;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
function isMe(message): boolean {
|
function isMe(message): boolean {
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
<swiper-slide>
|
<swiper-slide>
|
||||||
<div class="_content yweeujhr dms">
|
<div class="_content yweeujhr dms">
|
||||||
<MkButton primary class="start" @click="startUser"><i class="ph-plus-bold ph-lg"></i> {{ i18n.ts.startMessaging }}</MkButton>
|
<MkButton primary class="start" @click="startUser"><i class="ph-plus-bold ph-lg"></i> {{ i18n.ts.startMessaging }}</MkButton>
|
||||||
<MkPagination v-slot="{items}" :pagination="dmsPagination">
|
<MkPagination v-slot="{items}" :pagination="dmsPagination" :reloadKey="reloadingKey">
|
||||||
<MkChatPreview v-for="message in items" :key="message.id" class="yweeujhr message _block" :message="message"/>
|
<MkChatPreview v-for="message in items" :key="message.id" class="yweeujhr message _block" :message="message" :reloadKey="reloadingKey"/>
|
||||||
</MkPagination>
|
</MkPagination>
|
||||||
</div>
|
</div>
|
||||||
</swiper-slide>
|
</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" :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>
|
<MkButton primary class="start" @click="startGroup"><i class="ph-plus-bold ph-lg"></i> {{ i18n.ts.startMessaging }}</MkButton>
|
||||||
</div>
|
</div>
|
||||||
<MkPagination v-slot="{items}" :pagination="groupsPagination">
|
<MkPagination v-slot="{items}" :pagination="groupsPagination" :reloadKey="reloadingKey">
|
||||||
<MkChatPreview v-for="message in items" :key="message.id" class="yweeujhr message _block" :message="message"/>
|
<MkChatPreview v-for="message in items" :key="message.id" class="yweeujhr message _block" :message="message" :reloadKey="reloadingKey"/>
|
||||||
</MkPagination>
|
</MkPagination>
|
||||||
</div>
|
</div>
|
||||||
</swiper-slide>
|
</swiper-slide>
|
||||||
|
|
Loading…
Reference in a new issue