feat: Adds automation view for assigning an agent (#6131)
* feat: Adds automation view for assigning an agent Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com> Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com> Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
@@ -214,7 +214,7 @@ describe('automationMethodsMixin', () => {
|
||||
it('getDefaultActions returns the resp default action model', () => {
|
||||
const genericActionModel = [
|
||||
{
|
||||
action_name: 'assign_team',
|
||||
action_name: 'assign_agent',
|
||||
action_params: [],
|
||||
},
|
||||
];
|
||||
|
||||
@@ -209,7 +209,7 @@ describe('automationMethodsMixin', () => {
|
||||
|
||||
it('appendNewAction appends a new condition to the automation data property', () => {
|
||||
const action = {
|
||||
action_name: 'assign_team',
|
||||
action_name: 'assign_agent',
|
||||
action_params: [],
|
||||
};
|
||||
const data = () => {
|
||||
@@ -339,6 +339,9 @@ describe('automationMethodsMixin', () => {
|
||||
};
|
||||
};
|
||||
const computed = {
|
||||
agents() {
|
||||
return agents;
|
||||
},
|
||||
labels() {
|
||||
return labels;
|
||||
},
|
||||
@@ -419,6 +422,9 @@ describe('automationMethodsMixin', () => {
|
||||
return {};
|
||||
};
|
||||
const computed = {
|
||||
agents() {
|
||||
return agents;
|
||||
},
|
||||
labels() {
|
||||
return labels;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user