Skip to content

Commit

Permalink
[Discover] [Dataset Quality] Stringify ignored values before rendering (
Browse files Browse the repository at this point in the history
elastic#203312)

This json-stringifies the values of the `_ignored` fields in the
"quality issues" section of the "logs overview" tab. The tab is shown in
Discover when the space is an "Observability" space or the serverless
project is an "Observability" project and the document is a log entry
document.

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
2 people authored and CAWilson94 committed Dec 12, 2024
1 parent 04a6bcc commit 54e64f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ const getDegradedFieldsColumns = (): Array<EuiBasicTableColumn<DegradedField>> =
sortable: true,
field: 'values',
render: (values: string[]) => {
return values.map((value, idx) => <EuiBadge key={idx}>{value}</EuiBadge>);
return values.map((value, idx) => <EuiBadge key={idx}>{JSON.stringify(value)}</EuiBadge>);
},
},
];
Expand Down

0 comments on commit 54e64f6

Please sign in to comment.