Skip to content

Commit

Permalink
[Discover] [Dataset Quality] Stringify ignored values before rendering (
Browse files Browse the repository at this point in the history
#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
weltenwort and elasticmachine authored Dec 11, 2024
1 parent 8821e03 commit 38f30a9
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 38f30a9

Please sign in to comment.