Skip to content

Commit

Permalink
Update x-pack/plugins/infra/public/components/logging/log_entry_flyou…
Browse files Browse the repository at this point in the history
…t/log_entry_actions_menu.tsx

Co-Authored-By: Felix Stürmer <[email protected]>
  • Loading branch information
Kerry350 and weltenwort authored Mar 5, 2020
1 parent a46990c commit 4df03bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const getUptimeLink = (logItem: LogEntriesItem): LinkDescriptor | undefined => {
.reduce<string[]>((acc, fieldItem) => {
const { field, value } = fieldItem;
try {
const parsedValue: string[] = JSON.parse(value);
const parsedValue = decodeOrThrow(rt.array(rt.string))(JSON.parse(value));
return acc.concat(parsedValue.map(val => `${field}:${val}`));
} catch (e) {
return acc.concat([`${field}:${value}`]);
Expand Down

0 comments on commit 4df03bf

Please sign in to comment.