mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(editor): Show error state in the logs overview (#14248)
This commit is contained in:
@@ -58,6 +58,7 @@ export const mockNodeTypeDescription = ({
|
||||
outputs = [NodeConnectionTypes.Main],
|
||||
codex = undefined,
|
||||
properties = [],
|
||||
group,
|
||||
}: {
|
||||
name?: INodeTypeDescription['name'];
|
||||
icon?: INodeTypeDescription['icon'];
|
||||
@@ -67,6 +68,7 @@ export const mockNodeTypeDescription = ({
|
||||
outputs?: INodeTypeDescription['outputs'];
|
||||
codex?: INodeTypeDescription['codex'];
|
||||
properties?: INodeTypeDescription['properties'];
|
||||
group?: INodeTypeDescription['group'];
|
||||
} = {}) =>
|
||||
mock<INodeTypeDescription>({
|
||||
name,
|
||||
@@ -80,7 +82,7 @@ export const mockNodeTypeDescription = ({
|
||||
defaultVersion: Array.isArray(version) ? version[version.length - 1] : version,
|
||||
properties: properties as [],
|
||||
maxNodes: Infinity,
|
||||
group: EXECUTABLE_TRIGGER_NODE_TYPES.includes(name) ? ['trigger'] : [],
|
||||
group: (group ?? EXECUTABLE_TRIGGER_NODE_TYPES.includes(name)) ? ['trigger'] : [],
|
||||
inputs,
|
||||
outputs,
|
||||
codex,
|
||||
|
||||
Reference in New Issue
Block a user