From 5d94c588f0e83f7ab6f79865b3274a905ec3eefc Mon Sep 17 00:00:00 2001 From: Brandon Jordan Date: Tue, 29 Oct 2024 20:44:57 -0400 Subject: [PATCH] Parse action connections from attachmentsByRange in values --- src/render.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/render.ts b/src/render.ts index 05fcafd..c303ab8 100644 --- a/src/render.ts +++ b/src/render.ts @@ -127,6 +127,11 @@ function renderActionConnection(card: HTMLElement, action: ActionData) { if (paramValue.Value && paramValue.Value.OutputUUID) { outputUUIDs.push(paramValue.Value.OutputUUID); } + if (paramValue.Value && paramValue.Value.attachmentsByRange) { + for (const attachment in paramValue.Value.attachmentsByRange) { + outputUUIDs.push(paramValue.Value.attachmentsByRange[attachment].OutputUUID); + } + } } if (outputUUIDs.length !== 0) { // @ts-ignore