1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-08-17 00:50:42 +03:00

feat(editor): Allow two-way connection for AI Nodes in new canvas (no-changelog) (#9864)

This commit is contained in:
Alex Grozav 2024-06-26 12:17:32 +03:00 committed by GitHub
parent df9cd8950e
commit 405e8746c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,11 +23,11 @@ const $style = useCssModule();
const handleType = computed(() => (props.mode === 'input' ? 'target' : 'source'));
const isConnectableStart = computed(() => {
return props.mode === 'output';
return props.mode === 'output' || props.type !== NodeConnectionType.Main;
});
const isConnectableEnd = computed(() => {
return props.mode === 'input';
return props.mode === 'input' || props.type !== NodeConnectionType.Main;
});
const Render = (renderProps: { label?: string }) => {