mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(editor): Resolve $vars and $secrets in expressions in credentials fields (#9289)
This commit is contained in:
@@ -164,7 +164,9 @@ export class WorkflowDataProxy {
|
||||
const that = this;
|
||||
const node = this.workflow.nodes[nodeName];
|
||||
|
||||
return new Proxy(node.parameters, {
|
||||
// `node` is `undefined` only in expressions in credentials
|
||||
|
||||
return new Proxy(node?.parameters ?? {}, {
|
||||
has: () => true,
|
||||
ownKeys(target) {
|
||||
return Reflect.ownKeys(target);
|
||||
|
||||
Reference in New Issue
Block a user