mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-30 22:02:03 -08:00
fix(editor): Fix duplicate chat trigger (#11693)
This commit is contained in:
parent
88295c7049
commit
a025848ec4
|
@ -6,7 +6,7 @@ import {
|
||||||
EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE,
|
EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE,
|
||||||
FORM_TRIGGER_NODE_TYPE,
|
FORM_TRIGGER_NODE_TYPE,
|
||||||
MANUAL_TRIGGER_NODE_TYPE,
|
MANUAL_TRIGGER_NODE_TYPE,
|
||||||
MANUAL_CHAT_TRIGGER_NODE_TYPE,
|
CHAT_TRIGGER_NODE_TYPE,
|
||||||
SCHEDULE_TRIGGER_NODE_TYPE,
|
SCHEDULE_TRIGGER_NODE_TYPE,
|
||||||
REGULAR_NODE_CREATOR_VIEW,
|
REGULAR_NODE_CREATOR_VIEW,
|
||||||
TRANSFORM_DATA_SUBCATEGORY,
|
TRANSFORM_DATA_SUBCATEGORY,
|
||||||
|
@ -405,14 +405,14 @@ export function TriggerView() {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: MANUAL_CHAT_TRIGGER_NODE_TYPE,
|
key: CHAT_TRIGGER_NODE_TYPE,
|
||||||
type: 'node',
|
type: 'node',
|
||||||
category: [CORE_NODES_CATEGORY],
|
category: [CORE_NODES_CATEGORY],
|
||||||
properties: {
|
properties: {
|
||||||
group: [],
|
group: [],
|
||||||
name: MANUAL_CHAT_TRIGGER_NODE_TYPE,
|
name: CHAT_TRIGGER_NODE_TYPE,
|
||||||
displayName: i18n.baseText('nodeCreator.triggerHelperPanel.manualChatTriggerDisplayName'),
|
displayName: i18n.baseText('nodeCreator.triggerHelperPanel.chatTriggerDisplayName'),
|
||||||
description: i18n.baseText('nodeCreator.triggerHelperPanel.manualChatTriggerDescription'),
|
description: i18n.baseText('nodeCreator.triggerHelperPanel.chatTriggerDescription'),
|
||||||
icon: 'fa:comments',
|
icon: 'fa:comments',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -1118,6 +1118,8 @@
|
||||||
"nodeCreator.triggerHelperPanel.manualChatTriggerDisplayName": "On chat message",
|
"nodeCreator.triggerHelperPanel.manualChatTriggerDisplayName": "On chat message",
|
||||||
"nodeCreator.triggerHelperPanel.manualChatTriggerDescription": "Runs the flow when a user sends a chat message. For use with AI nodes",
|
"nodeCreator.triggerHelperPanel.manualChatTriggerDescription": "Runs the flow when a user sends a chat message. For use with AI nodes",
|
||||||
"nodeCreator.triggerHelperPanel.manualTriggerTag": "Recommended",
|
"nodeCreator.triggerHelperPanel.manualTriggerTag": "Recommended",
|
||||||
|
"nodeCreator.triggerHelperPanel.chatTriggerDisplayName": "On chat message",
|
||||||
|
"nodeCreator.triggerHelperPanel.chatTriggerDescription": "Runs the flow when a user sends a chat message. For use with AI nodes",
|
||||||
"nodeCreator.triggerHelperPanel.whatHappensNext": "What happens next?",
|
"nodeCreator.triggerHelperPanel.whatHappensNext": "What happens next?",
|
||||||
"nodeCreator.triggerHelperPanel.selectATrigger": "What triggers this workflow?",
|
"nodeCreator.triggerHelperPanel.selectATrigger": "What triggers this workflow?",
|
||||||
"nodeCreator.triggerHelperPanel.selectATriggerDescription": "A trigger is a step that starts your workflow",
|
"nodeCreator.triggerHelperPanel.selectATriggerDescription": "A trigger is a step that starts your workflow",
|
||||||
|
|
Loading…
Reference in a new issue