Fix conversation reverse list (#41)
This commit is contained in:
1 parent
8fd61538af
commit
b5e9f37268
3 files changed
+7
-4
No files matched your search
@@ -120,8 +120,6 @@ export const getConversations = async ({
|
||||
log(getConversations, 'get conversations success', response.data?.items);
|
||||
commit('setConversations', response.data.items);
|
||||
const conversations = response.data.items;
|
||||
// reverse the order of conversations
|
||||
conversations.reverse();
|
||||
resolve(conversations);
|
||||
})
|
||||
.catch((error) => {
|
||||
|
||||
@@ -267,8 +267,6 @@ export const getConversations = async (
|
||||
token
|
||||
})
|
||||
).data.items;
|
||||
// reverse the order of conversations
|
||||
conversations.reverse();
|
||||
log(getConversations, 'get conversations success', conversations);
|
||||
commit('setRepository', {
|
||||
id: payload.repositoryId,
|
||||
|
||||
Reference in new issue
Block a user