mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-30 22:02:03 -08:00
fix(editor): Fix hasTrimmedItem
for multi-output nodes and sub-nodes (no-changelog) (#12612)
This commit is contained in:
parent
ee68afe561
commit
41e5d10d40
|
@ -192,7 +192,7 @@ export const waitingNodeTooltip = (node: INodeUi | null | undefined) => {
|
||||||
* finish, when the client receives the full data.
|
* finish, when the client receives the full data.
|
||||||
*/
|
*/
|
||||||
export function hasTrimmedItem(taskData: ITaskData[]) {
|
export function hasTrimmedItem(taskData: ITaskData[]) {
|
||||||
return taskData[0]?.data?.main[0]?.[0].json?.[TRIMMED_TASK_DATA_CONNECTIONS_KEY] ?? false;
|
return taskData[0]?.data?.main?.[0]?.[0]?.json?.[TRIMMED_TASK_DATA_CONNECTIONS_KEY] ?? false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue