mirror of
https://github.com/lingble/chatwoot.git
synced 2026-03-20 03:52:43 +00:00
feat: Assign team with teams none option (#5871)
This commit is contained in:
@@ -54,6 +54,7 @@ export default {
|
||||
mute_conversation: null,
|
||||
snooze_conversation: null,
|
||||
resolve_conversation: null,
|
||||
remove_assigned_team: null,
|
||||
send_webhook_event: params[0],
|
||||
send_message: params[0],
|
||||
send_email_transcript: params[0],
|
||||
|
||||
@@ -41,8 +41,8 @@ export default {
|
||||
...mapGetters({
|
||||
uiFlags: 'macros/getUIFlags',
|
||||
labels: 'labels/getLabels',
|
||||
teams: 'teams/getTeams',
|
||||
agents: 'agents/getAgents',
|
||||
teams: 'teams/getTeams',
|
||||
}),
|
||||
macroId() {
|
||||
return this.$route.params.macroId;
|
||||
|
||||
@@ -84,7 +84,8 @@ export default {
|
||||
return !(
|
||||
prop.action_name === 'mute_conversation' ||
|
||||
prop.action_name === 'snooze_conversation' ||
|
||||
prop.action_name === 'resolve_conversation'
|
||||
prop.action_name === 'resolve_conversation' ||
|
||||
prop.action_name === 'remove_assigned_team'
|
||||
);
|
||||
}),
|
||||
},
|
||||
|
||||
@@ -19,6 +19,11 @@ export const MACRO_ACTION_TYPES = [
|
||||
label: 'Remove a label',
|
||||
inputType: 'multi_select',
|
||||
},
|
||||
{
|
||||
key: 'remove_assigned_team',
|
||||
label: 'Remove Assigned Team',
|
||||
inputType: null,
|
||||
},
|
||||
{
|
||||
key: 'send_email_transcript',
|
||||
label: 'Send an email transcript',
|
||||
|
||||
Reference in New Issue
Block a user