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:
parent
df9cd8950e
commit
405e8746c9
@ -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 }) => {
|
||||
|
Loading…
Reference in New Issue
Block a user