feat: Add the ability to self-assign conversations in macros (#8048)

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
This commit is contained in:
Sojan Jose
2023-10-09 21:08:23 -07:00
committed by GitHub
parent 759a66dd21
commit 6a07251007
5 changed files with 160 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ export default {
case 'send_email_to_team':
return this.teams;
case 'assign_agent':
return this.agents;
return [{ id: 'self', name: 'Self' }, ...this.agents];
case 'add_label':
case 'remove_label':
return this.labels.map(i => {