SecurityPicker - Format Synthetics using Name property

This commit is contained in:
Jake Norbut committed 2018-03-01 10:40:58 -06:00
1 parent 21ae8ab78f
commit 6e629119f7
1 file changed
+3
@@ -39,6 +39,9 @@ namespace bts.api
} else {
goto default;
}
case Security.ContractOneofCase.Synthetic:
formatted_security_name = s.Synthetic.Name;
break;
default:
if (part_formatters.Count > 0 && part_formatters[0].separator == "!") {
if (part_formatters[0].add_part(s, out formatted_security_name)) { break; }