fix: reopen pending human conversations
Build and publish Docker images / Build and publish images (push) Successful in 2m23s
Build and publish Docker images / Build and publish images (push) Successful in 2m23s
This commit is contained in:
@@ -45,14 +45,10 @@ export default {
|
||||
return `${this.darkMode === 'dark' ? 'dark-scheme' : 'light-scheme'}`;
|
||||
},
|
||||
showStatusIndicator() {
|
||||
const { status } = this.conversationAttributes;
|
||||
const isConversationInPendingStatus = status === 'pending';
|
||||
const { aiTakeoverActive } = this.conversationAttributes;
|
||||
const isLastMessageIncoming =
|
||||
this.lastMessage.message_type === MESSAGE_TYPE.INCOMING;
|
||||
return (
|
||||
this.isAgentTyping ||
|
||||
(isConversationInPendingStatus && isLastMessageIncoming)
|
||||
);
|
||||
return this.isAgentTyping || (aiTakeoverActive && isLastMessageIncoming);
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
|
||||
Reference in New Issue
Block a user