Skip to content

Commit

Permalink
Fix missing bracket and duplicate dict entries
Browse files Browse the repository at this point in the history
  • Loading branch information
abigailalexander committed Apr 11, 2024
1 parent 14aa292 commit ae953f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ui/widgets/EmbeddedDisplay/bobParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ const BOB_WIDGET_MAPPING: { [key: string]: any } = {
polyline: "line",
progressbar: "progressbar",
rectangle: "shape",
action_button: "actionbutton",
choice: "choicebutton",
embedded: "embeddedDisplay",
scaledslider: "slidecontrol"
};

Expand Down Expand Up @@ -142,6 +140,7 @@ function bobParseItems(jsonProp: ElementCompact): string[] {
items.push(item._text);
});
return items;
}

/**
* Parse file for Embedded Display widgets
Expand Down

0 comments on commit ae953f6

Please sign in to comment.