[Discover] Add missing key to DocViewer table (#90396)

This commit is contained in:
Matthias Wilhelm 2021-02-05 17:28:17 +01:00 committed by GitHub
parent b058f7852b
commit ae609c4aea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,9 +101,8 @@ export function DocViewTable({
? 'nested'
: indexPattern.fields.getByName(field)?.type;
return (
<React.Fragment>
<React.Fragment key={field}>
<DocViewTableRow
key={field}
field={field}
fieldMapping={mapping(field)}
fieldType={String(fieldType)}