File tree 1 file changed +7
-7
lines changed
packages/frontend/editor-ui/src/utils 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,10 @@ function sanitizeFromAiParameterName(s: string) {
47
47
48
48
// nodeName | [nodeName, highestUnsupportedVersion]
49
49
const NODE_DENYLIST = [
50
- 'toolCode' ,
51
- 'toolHttpRequest' ,
52
- 'mcpClientTool' ,
53
- [ 'toolWorkflow' , 1.2 ] ,
50
+ '@n8n/n8n-nodes-langchain. toolCode' ,
51
+ '@n8n/n8n-nodes-langchain. toolHttpRequest' ,
52
+ '@n8n/n8n-nodes-langchain. mcpClientTool' ,
53
+ [ '@n8n/n8n-nodes-langchain. toolWorkflow' , 1.2 ] ,
54
54
] as const ;
55
55
56
56
const PATH_DENYLIST = [
@@ -192,10 +192,10 @@ export function parseOverrides(
192
192
193
193
function isDeniedNode ( nodeDenyData : string | readonly [ string , number ] , node : INodeUi ) {
194
194
if ( typeof nodeDenyData === 'string' ) {
195
- return node . type . endsWith ( nodeDenyData ) ;
195
+ return node . type === nodeDenyData ;
196
196
} else {
197
- const [ name , version ] = nodeDenyData ;
198
- return node . type . endsWith ( name ) && node . typeVersion <= version ;
197
+ const [ typeName , version ] = nodeDenyData ;
198
+ return node . type === typeName && node . typeVersion <= version ;
199
199
}
200
200
}
201
201
You can’t perform that action at this time.
0 commit comments