fix(editor): Fix hasTrimmedItem for multi-output nodes and sub-nodes (no-changelog) (#12612)

This commit is contained in:
oleg 2025-01-15 12:36:20 +01:00 committed by GitHub
parent ee68afe561
commit 41e5d10d40
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
} }
/** /**