Skip to content

Commit

Permalink
fix summary alert details (#90657)
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierM authored Feb 8, 2021
1 parent 31a3ec5 commit cde3cba
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 88 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,8 @@ export const getDataFromSourceHits = (
{
category: fieldCategory,
field,
values: Array.isArray(item)
? item.map((value) => {
if (isObject(value)) {
return JSON.stringify(value);
}

return value;
})
: [item],
originalValue: item,
values: toStringArray(item),
originalValue: toStringArray(item),
} as TimelineEventsDetailsItem,
];
} else if (isObject(item)) {
Expand Down
Loading

0 comments on commit cde3cba

Please sign in to comment.