Skip to content

Commit

Permalink
Parse action connections from attachmentsByRange in values
Browse files Browse the repository at this point in the history
  • Loading branch information
electrikmilk committed Oct 30, 2024
1 parent 339b0df commit 5d94c58
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d94c58

Please sign in to comment.