diff --git a/src/ui/widgets/EmbeddedDisplay/bobParser.ts b/src/ui/widgets/EmbeddedDisplay/bobParser.ts index 5ee7a26..53fa61e 100644 --- a/src/ui/widgets/EmbeddedDisplay/bobParser.ts +++ b/src/ui/widgets/EmbeddedDisplay/bobParser.ts @@ -211,7 +211,9 @@ function bobParseResizing(jsonProp: ElementCompact): string { function bobParseSymbols(jsonProp: ElementCompact): string[] { const symbols: string[] = []; Object.values(jsonProp["symbol"]).forEach((item: any) => { - symbols.push(item); + // For a single symbol, we are passed a string. For multiple symbols + // we are passed an object, so we need to return string from it + symbols.push(typeof item === "string" ? item : item._text); }); return symbols; }