[7.x] [Lens] Fix React duplicate keys warning for identically… (#53116)

This commit is contained in:
Marta Bondyra 2019-12-17 08:32:22 +01:00 committed by GitHub
parent 165ed590dd
commit 7be5e9294b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,6 +79,7 @@ export function ChangeIndexPattern({
searchable
singleSelection="always"
options={indexPatternRefs.map(({ title, id }) => ({
key: id,
label: title,
value: id,
checked: id === indexPatternId ? 'on' : undefined,