diff --git a/src/components/PreferencesBar.vue b/src/components/PreferencesBar.vue
index c88e39fe..c3c371f9 100644
--- a/src/components/PreferencesBar.vue
+++ b/src/components/PreferencesBar.vue
@@ -50,20 +50,20 @@
@input="changeSound"
/>
-
-
diff --git a/src/components/chats/ContactInfo/index.vue b/src/components/chats/ContactInfo/index.vue
index 6114b671..151fe149 100644
--- a/src/components/chats/ContactInfo/index.vue
+++ b/src/components/chats/ContactInfo/index.vue
@@ -17,10 +17,10 @@
{{ (closedRoom || room).contact.name }}
-
-
@@ -124,10 +124,10 @@
:disabled="!!transferContactError || isViewMode"
/>
-
diff --git a/src/components/chats/FlowsTrigger/SelectFlow.vue b/src/components/chats/FlowsTrigger/SelectFlow.vue
index d8f99aee..ac6d29b2 100644
--- a/src/components/chats/FlowsTrigger/SelectFlow.vue
+++ b/src/components/chats/FlowsTrigger/SelectFlow.vue
@@ -16,14 +16,14 @@
-
-
-
@@ -21,11 +21,11 @@
-
diff --git a/src/locales/translations.json b/src/locales/translations.json
index 1fbb5b13..23adf601 100644
--- a/src/locales/translations.json
+++ b/src/locales/translations.json
@@ -293,7 +293,12 @@
"forwarded_to_agent": {
"pt-br": "Contato encaminhado para agente {agent}",
"en-us": "Contact forwarded to agent {agent}",
- "es": "Contacto reenviado al agente {agente}"
+ "es": "Contacto reenviado al agente {agent}"
+ },
+ "forwarded_to_queue": {
+ "pt-br": "Contato encaminhado para fila {queue}",
+ "en-us": "Contact forwarded to queue {queue}",
+ "es": "Contacto reenviado a la cola {queue}"
},
"transfer_to_agent": {
"pt-br": "{agent1} transferiu para {agent2}",
diff --git a/src/store/modules/roomMessages.js b/src/store/modules/roomMessages.js
index b800cbf3..3dd73727 100644
--- a/src/store/modules/roomMessages.js
+++ b/src/store/modules/roomMessages.js
@@ -210,6 +210,7 @@ export default {
const response = await Message.getByRoom({ nextReq }, activeRoom.uuid, offset, limit);
const { results: messages, next: hasNext } = response;
+ let newMessages = messages;
if (!messages?.[0] || !activeRoom?.uuid || messages?.[0]?.room !== activeRoom.uuid) {
return;
@@ -222,6 +223,8 @@ export default {
addBefore: !!nextReq || concat,
});
});
+
+ newMessages = newMessages.reverse().concat(state.roomMessages);
} else {
commit(mutations.RESET_ROOM_MESSAGES_SORTED);
messages.forEach((message) => {
@@ -229,7 +232,7 @@ export default {
});
}
- commit(mutations.SET_ROOM_MESSAGES, messages);
+ commit(mutations.SET_ROOM_MESSAGES, newMessages);
commit(mutations.SET_ROOM_MESSAGES_NEXT, hasNext);
} catch (error) {
console.error('An error ocurred when try get the room messages', error);
diff --git a/src/views/Dashboard/ViewMode/index.vue b/src/views/Dashboard/ViewMode/index.vue
index 226422e5..85ff0277 100644
--- a/src/views/Dashboard/ViewMode/index.vue
+++ b/src/views/Dashboard/ViewMode/index.vue
@@ -21,11 +21,11 @@
@show-contact-info="handleModal('ContactInfo', 'open')"
@scrollTop="searchForMoreMessages"
/>
-
diff --git a/src/views/Settings/Sectors/Edit.vue b/src/views/Settings/Sectors/Edit.vue
index b774f9ff..5c5b0180 100644
--- a/src/views/Settings/Sectors/Edit.vue
+++ b/src/views/Settings/Sectors/Edit.vue
@@ -120,12 +120,12 @@
v-if="!!queueToEdit && this.currentTab === 'queues'"
text="Excluir fila"
icon-left="delete-1"
- type="terciary"
+ type="tertiary"
@click="openModalDeleteQueue(queueToEdit)"
/>
@@ -157,7 +157,7 @@
@close="closeModalDeleteQueue"
>
-
+
-
+
diff --git a/src/views/chats/ModalCloseChat.vue b/src/views/chats/ModalCloseChat.vue
index 3b77463f..3b6cd317 100644
--- a/src/views/chats/ModalCloseChat.vue
+++ b/src/views/chats/ModalCloseChat.vue
@@ -15,7 +15,7 @@