diff --git a/app/javascript/ui/MessageList.vue b/app/javascript/ui/MessageList.vue
index d1fcb9c6b..1a8ec4644 100644
--- a/app/javascript/ui/MessageList.vue
+++ b/app/javascript/ui/MessageList.vue
@@ -70,9 +70,9 @@ const fetchMore = async () => {
}
};
-onMounted(() => {
- store.dispatch('inboxes/get');
- store.dispatch('getConversation', conversationId.value);
+onMounted(async () => {
+ await store.dispatch('inboxes/get');
+ await store.dispatch('getConversation', conversationId.value);
});
watch(conversation, () => {
@@ -110,15 +110,15 @@ useInfiniteScroll(messageListRef, useThrottleFn(fetchMore, 1000), {