Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML] Single Metric Viewer embeddable: ensure detector index is passed…
… to chart correctly (elastic#179761) ## Summary This PR fixes bug where `selectedDetectorIndex` was not being passed to the chart component correctly and always defaulted to the first detector. ### Checklist Delete any items that are not applicable to this PR. - [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios (cherry picked from commit 80e2805)
- Loading branch information