diff --git a/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue b/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue index 8b9595efd..184ae4d38 100644 --- a/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue +++ b/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue @@ -1085,7 +1085,7 @@ export default { this.conversationId ); - this.inReplyTo = this.currentChat.messages.find(message => { + this.inReplyTo = this.currentChat?.messages?.find(message => { if (message.id === replyToMessageId) { return true; } diff --git a/app/javascript/dashboard/routes/dashboard/settings/inbox/settingsPage/CollaboratorsPage.vue b/app/javascript/dashboard/routes/dashboard/settings/inbox/settingsPage/CollaboratorsPage.vue index 2e6b803b4..302bf7281 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/inbox/settingsPage/CollaboratorsPage.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/inbox/settingsPage/CollaboratorsPage.vue @@ -44,7 +44,7 @@ -

+

{{ $t('INBOX_MGMT.SETTINGS_POPUP.AUTO_ASSIGNMENT_SUB_TEXT') }}

@@ -62,7 +62,7 @@ @blur="$v.maxAssignmentLimit.$touch" /> -

+

{{ $t('INBOX_MGMT.AUTO_ASSIGNMENT.MAX_ASSIGNMENT_LIMIT_SUB_TEXT') }}

@@ -127,7 +127,7 @@ export default { setDefaults() { this.enableAutoAssignment = this.inbox.enable_auto_assignment; this.maxAssignmentLimit = - this.inbox.auto_assignment_config.max_assignment_limit || null; + this.inbox?.auto_assignment_config?.max_assignment_limit || null; this.fetchAttachedAgents(); }, async fetchAttachedAgents() {