Skip to content

Commit

Permalink
Fix aggrandizements in values
Browse files Browse the repository at this point in the history
  • Loading branch information
electrikmilk committed Apr 26, 2024
1 parent c0246d1 commit a65e511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function renderObjectValue(container: HTMLElement, value?: any) {
for (let v in value.Value.attachmentsByRange) {
let variable = value.Value.attachmentsByRange[v];
let varTypeName = variable.OutputName ?? variable.VariableName ?? variable.PropertyName;
if (variable.Aggrandizements) {
if (variable.Aggrandizements && variable.Aggrandizements.length) {
const aggrandizements = variable.Aggrandizements[0];
switch (aggrandizements.Type) {
case 'WFCoercionVariableAggrandizement':
Expand Down

0 comments on commit a65e511

Please sign in to comment.