Bug : Inbox Filter indicator is removed when a conversation is selected (#535)
This commit is contained in:
committed by
GitHub
parent
bc884ae184
commit
330bf87f08
@@ -69,6 +69,12 @@ export default {
|
||||
this.$store.dispatch('setActiveInbox', this.inboxId);
|
||||
}
|
||||
break;
|
||||
case 'conversation_through_inbox':
|
||||
if (this.inboxId) {
|
||||
this.$store.dispatch('setActiveInbox', this.inboxId);
|
||||
}
|
||||
this.setActiveChat();
|
||||
break;
|
||||
default:
|
||||
this.$store.dispatch('setActiveInbox', null);
|
||||
break;
|
||||
|
||||
@@ -31,5 +31,17 @@ export default {
|
||||
return { conversationId: route.params.conversation_id };
|
||||
},
|
||||
},
|
||||
{
|
||||
path: frontendURL('inbox/:inbox_id/conversations/:conversation_id'),
|
||||
name: 'conversation_through_inbox',
|
||||
roles: ['administrator', 'agent'],
|
||||
component: ConversationView,
|
||||
props: route => {
|
||||
return {
|
||||
conversationId: route.params.conversation_id,
|
||||
inboxId: route.params.inbox_id,
|
||||
};
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user