mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat(editor): Propagate targetNodeParameterContext throughout expression resolution logic (no-changelog) (#16476)
This commit is contained in:
@@ -15,10 +15,12 @@ import { removeExpressionPrefix } from '@/utils/expressions';
|
||||
import { mappingDropCursor } from '@/plugins/codemirror/dragAndDrop';
|
||||
import { editorKeymap } from '@/plugins/codemirror/keymap';
|
||||
import { expressionCloseBrackets } from '@/plugins/codemirror/expressionCloseBrackets';
|
||||
import type { TargetNodeParameterContext } from '@/Interface';
|
||||
|
||||
type Props = {
|
||||
modelValue: string;
|
||||
path: string;
|
||||
targetNodeParameterContext?: TargetNodeParameterContext;
|
||||
isReadOnly?: boolean;
|
||||
};
|
||||
|
||||
@@ -52,7 +54,11 @@ const { segments, readEditorValue, editor, hasFocus, focus } = useExpressionEdit
|
||||
editorValue,
|
||||
extensions,
|
||||
isReadOnly: computed(() => props.isReadOnly),
|
||||
autocompleteTelemetry: { enabled: true, parameterPath: props.path },
|
||||
autocompleteTelemetry: {
|
||||
enabled: true,
|
||||
parameterPath: props.path,
|
||||
},
|
||||
targetNodeParameterContext: props.targetNodeParameterContext,
|
||||
});
|
||||
|
||||
watch(
|
||||
|
||||
Reference in New Issue
Block a user