mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08: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 handleType = computed(() => (props.mode === 'input' ? 'target' : 'source'));
|
||||||
|
|
||||||
const isConnectableStart = computed(() => {
|
const isConnectableStart = computed(() => {
|
||||||
return props.mode === 'output';
|
return props.mode === 'output' || props.type !== NodeConnectionType.Main;
|
||||||
});
|
});
|
||||||
|
|
||||||
const isConnectableEnd = computed(() => {
|
const isConnectableEnd = computed(() => {
|
||||||
return props.mode === 'input';
|
return props.mode === 'input' || props.type !== NodeConnectionType.Main;
|
||||||
});
|
});
|
||||||
|
|
||||||
const Render = (renderProps: { label?: string }) => {
|
const Render = (renderProps: { label?: string }) => {
|
||||||
|
|
Loading…
Reference in a new issue