[Lens] Fix React duplicate keys warning for identically labele… (#52716)

This commit is contained in:
Marta Bondyra 2019-12-16 15:05:45 +01:00 committed by GitHub
parent 68f956d814
commit a9831d6d8c
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,